From 53185886581e19835ee4e6996961b169c75727d2 Mon Sep 17 00:00:00 2001 From: zsystm Date: Mon, 14 Aug 2023 12:57:13 +0900 Subject: [PATCH] remove checking bond denom at RandomFees should accept bond denom also --- types/simulation/account.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/types/simulation/account.go b/types/simulation/account.go index 758c3e023a86..b20bb3ffa84e 100644 --- a/types/simulation/account.go +++ b/types/simulation/account.go @@ -75,9 +75,6 @@ func RandomFees(r *rand.Rand, ctx sdk.Context, spendableCoins sdk.Coins) (sdk.Co var randCoin sdk.Coin for _, index := range perm { randCoin = spendableCoins[index] - if randCoin.Denom == sdk.DefaultBondDenom { - continue - } if !randCoin.Amount.IsZero() { break }