Skip to content

Commit 938500a

Browse files
committed
fix lint
1 parent 02dd650 commit 938500a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: x/group/simulation/operations.go

-2
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,6 @@ func SimulateMsgWithdrawProposal(cdc *codec.ProtoCodec, ak group.AccountKeeper,
945945
}
946946

947947
_, _, err = app.SimDeliver(txGen.TxEncoder(), tx)
948-
949948
if err != nil {
950949
if strings.Contains(err.Error(), "group was modified") || strings.Contains(err.Error(), "group policy was modified") {
951950
return simtypes.NoOpMsg(group.ModuleName, msg.Type(), "no-op:group/group-policy was modified"), nil, nil
@@ -1051,7 +1050,6 @@ func SimulateMsgVote(cdc *codec.ProtoCodec, ak group.AccountKeeper,
10511050
}
10521051

10531052
_, _, err = app.SimDeliver(txGen.TxEncoder(), tx)
1054-
10551053
if err != nil {
10561054
if strings.Contains(err.Error(), "group was modified") || strings.Contains(err.Error(), "group policy was modified") {
10571055
return simtypes.NoOpMsg(group.ModuleName, msg.Type(), "no-op:group/group-policy was modified"), nil, nil

0 commit comments

Comments
 (0)