Skip to content

Commit 1c33131

Browse files
committed
fix sim
1 parent d668ba7 commit 1c33131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x/cronos/simulation/operations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func SimulateUpdateTokenMapping(ak types.AccountKeeper, bk types.BankKeeper, k *
9191
}
9292

9393
oper, ops, err := simulation.GenAndDeliverTxWithRandFees(txCtx)
94-
if simAccount.Address.String() != cronosAdmin && errors.Is(err, errorsmod.Wrap(sdkerrors.ErrInvalidAddress, "msg sender is authorized")) {
94+
if simAccount.Address.String() != cronosAdmin && errors.Is(err, errorsmod.Wrap(sdkerrors.ErrInvalidAddress, "msg sender is not authorized")) {
9595
return simtypes.NoOpMsg(types.ModuleName, msg.Type(), "unauthorized tx should fail"), nil, nil
9696
}
9797
return oper, ops, err

0 commit comments

Comments
 (0)