mirror of
				https://github.com/0glabs/0g-chain.git
				synced 2025-11-04 00:57:26 +00:00 
			
		
		
		
	fix example cli liquidate cmd (#760)
This commit is contained in:
		
							parent
							
								
									bc110ce609
								
							
						
					
					
						commit
						a0d70e1c81
					
				@ -182,7 +182,7 @@ func getCmdLiquidate(cdc *codec.Codec) *cobra.Command {
 | 
			
		||||
		Long:  strings.TrimSpace(`liquidate a borrower that's over their loan-to-value ratio`),
 | 
			
		||||
		Args:  cobra.ExactArgs(1),
 | 
			
		||||
		Example: fmt.Sprintf(
 | 
			
		||||
			`%s tx %s borrow kava1hgcfsuwc889wtdmt8pjy7qffua9dd2tralu64j --from <key>`, version.ClientName, types.ModuleName,
 | 
			
		||||
			`%s tx %s liquidate kava1hgcfsuwc889wtdmt8pjy7qffua9dd2tralu64j --from <key>`, version.ClientName, types.ModuleName,
 | 
			
		||||
		),
 | 
			
		||||
		RunE: func(cmd *cobra.Command, args []string) error {
 | 
			
		||||
			inBuf := bufio.NewReader(cmd.InOrStdin())
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user