diff --git a/cmd/commands/flags.go b/cmd/commands/flags.go index 980c0b67a1..0c4c477707 100644 --- a/cmd/commands/flags.go +++ b/cmd/commands/flags.go @@ -51,7 +51,7 @@ var ( AmountFlag = cli.StringFlag{ Name: "amount", Value: "", - Usage: "Coins to send in transaction of the format ,,... (eg: 1gold,2silver,5btc)", + Usage: "Coins to send in transaction of the format ,,... (eg: 1btc,2gold,5silver)", } FromFlag = cli.StringFlag{ @@ -75,7 +75,7 @@ var ( FeeFlag = cli.StringFlag{ Name: "fee", Value: "", - Usage: "Coins for the transaction fee of the format ,,... (eg: 1gold,2silver,5btc)", + Usage: "Coins for the transaction fee of the format ", } DataFlag = cli.StringFlag{ diff --git a/types/coin.go b/types/coin.go index 23dc8f0868..b64f78bc97 100644 --- a/types/coin.go +++ b/types/coin.go @@ -100,7 +100,7 @@ func (coinsA Coins) IsGTE(coinsB Coins) bool { if len(diff) == 0 { return true } - return diff.IsPositive() + return diff.IsNonnegative() } func (coins Coins) IsZero() bool {