Skip to content

Commit

Permalink
fix deprecated function use after merging cosmos master
Browse files Browse the repository at this point in the history
  • Loading branch information
antstalepresh committed Nov 3, 2020
1 parent eb992a4 commit 381d1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/gov/simulation/operations.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ func operationSimulateMsgWeightedVote(ak types.AccountKeeper, bk types.BankKeepe
return simtypes.NoOpMsg(types.ModuleName, msg.Type(), "unable to generate fees"), nil, err
}

txGen := simappparams.MakeEncodingConfig().TxConfig
txGen := simappparams.MakeTestEncodingConfig().TxConfig
tx, err := helpers.GenTx(
txGen,
[]sdk.Msg{msg},
Expand Down

0 comments on commit 381d1b0

Please sign in to comment.