diff --git a/x/bank/simulation/operations.go b/x/bank/simulation/operations.go index 532d72f0b172..cda4ca70a7ac 100644 --- a/x/bank/simulation/operations.go +++ b/x/bank/simulation/operations.go @@ -84,11 +84,11 @@ func SimulateMsgSend( fromstr, err := ak.AddressCodec().BytesToString(from.Address) if err != nil { - return simtypes.NoOpMsg(types.ModuleName, msgType, err.Error()), nil, err + return simtypes.NoOpMsg(types.ModuleName, msgType, err.Error()), nil, nil } tostr, err := ak.AddressCodec().BytesToString(to.Address) if err != nil { - return simtypes.NoOpMsg(types.ModuleName, msgType, err.Error()), nil, err + return simtypes.NoOpMsg(types.ModuleName, msgType, err.Error()), nil, nil } msg := types.NewMsgSend(fromstr, tostr, coins)