From 8d93ce2e2412b2ac9a06867a1272a4a8188a623d Mon Sep 17 00:00:00 2001 From: Harish Marri Date: Mon, 5 Feb 2024 17:50:30 +0530 Subject: [PATCH] fix lint --- x/ics721nft/keeper.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/x/ics721nft/keeper.go b/x/ics721nft/keeper.go index 858459b2..0fb003f9 100644 --- a/x/ics721nft/keeper.go +++ b/x/ics721nft/keeper.go @@ -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)) }