remove IsValidNonNegative

This commit is contained in:
rigelrozanski 2017-10-07 22:44:16 -04:00
parent c04200ceeb
commit 80ebfe9c0e
1 changed files with 0 additions and 5 deletions

View File

@ -127,11 +127,6 @@ func (coins Coins) IsValid() bool {
}
}
// IsValidNonnegative tests is coins IsValid and IsNonnegative
func (coins Coins) IsValidNonnegative() bool {
return coins.IsValid() && coins.IsNonnegative()
}
// Plus combines to sets of coins
//
// TODO: handle empty coins!