Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 committed Feb 5, 2024
1 parent 581e7da commit 8d93ce2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions x/ics721nft/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,5 @@ func (k Keeper) validRoyaltyReceiverAddresses(addresses []*onfttypes.WeightedAdd
}
weightSum = weightSum.Add(addr.Weight)
}
if !weightSum.Equal(sdk.NewDec(1)) {
return false
}
return true
return weightSum.Equal(sdk.NewDec(1))
}

0 comments on commit 8d93ce2

Please sign in to comment.