fix deprecated function use after merging cosmos master

This commit is contained in:
antstalepresh 2020-11-03 22:32:49 +10:00
parent eb992a4490
commit 381d1b0e70
1 changed files with 1 additions and 1 deletions

View File

@ -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 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( tx, err := helpers.GenTx(
txGen, txGen,
[]sdk.Msg{msg}, []sdk.Msg{msg},