diff --git a/x/auction/simulation/operations/msg.go b/x/auction/simulation/operations/msg.go index 57dae24c..d38f97bc 100644 --- a/x/auction/simulation/operations/msg.go +++ b/x/auction/simulation/operations/msg.go @@ -39,7 +39,7 @@ func SimulateMsgPlaceBid(authKeeper auth.AccountKeeper, keeper auction.Keeper) s }) // shuffle auctions slice so that bids are evenly distributed across auctions - rand.Shuffle(len(openAuctions), func(i, j int) { + r.Shuffle(len(openAuctions), func(i, j int) { openAuctions[i], openAuctions[j] = openAuctions[j], openAuctions[i] }) // TODO do the same for accounts?