Merge PR #3717: Allow the undelegation of more coins than were delegated; More validity checks.

This commit is contained in:
Jae Kwon
2019-02-27 22:09:26 +01:00
committed by Christopher Goes
parent 7e08b62f4e
commit 10bd98e58e
20 changed files with 188 additions and 46 deletions
-2
View File
@@ -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