Skip to content

Commit

Permalink
Satisfy picky linter
Browse files Browse the repository at this point in the history
  • Loading branch information
cwgoes committed Dec 3, 2018
1 parent 709b9c4 commit aefc79e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/distribution/types/dec_coin.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ func (coins DecCoins) HasNegative() bool {
return false
}

// return whether all coins are zero
func (coins DecCoins) IsZero() bool {
for _, coin := range coins {
if !coin.Amount.IsZero() {
Expand Down

0 comments on commit aefc79e

Please sign in to comment.