Merge PR #3717: Allow the undelegation of more coins than were delegated; More validity checks.
This commit is contained in:
committed by
Christopher Goes
parent
7e08b62f4e
commit
10bd98e58e
@@ -389,8 +389,6 @@ func (coins Coins) AmountOf(denom string) Int {
|
||||
|
||||
// IsAllPositive returns true if there is at least one coin and all currencies
|
||||
// have a positive value.
|
||||
//
|
||||
// TODO: Remove once unsigned integers are used.
|
||||
func (coins Coins) IsAllPositive() bool {
|
||||
if len(coins) == 0 {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user