Skip to content

Commit

Permalink
remove checking bond denom at RandomFees
Browse files Browse the repository at this point in the history
should accept bond denom also
  • Loading branch information
zsystm committed Aug 14, 2023
1 parent 8caa0f5 commit 5318588
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions types/simulation/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5318588

Please sign in to comment.