Skip to content

Commit

Permalink
fix lint (#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayy04 authored Jan 11, 2024
1 parent 426a257 commit 2d20eac
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions protocol/x/clob/e2e/withdrawal_gating_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,9 @@ func TestWithdrawalGating_BlocksThenUnblocks(t *testing.T) {
})
require.NoError(t, err)
tApp.AdvanceToBlock(
tc.expectedNegativeTncSubaccountSeenAtBlock+satypes.WITHDRAWAL_AND_TRANSFERS_BLOCKED_AFTER_NEGATIVE_TNC_SUBACCOUNT_SEEN_BLOCKS+1,
tc.expectedNegativeTncSubaccountSeenAtBlock+
satypes.WITHDRAWAL_AND_TRANSFERS_BLOCKED_AFTER_NEGATIVE_TNC_SUBACCOUNT_SEEN_BLOCKS+
1,
testapp.AdvanceToBlockOptions{},
)
for _, checkTx := range testapp.MustMakeCheckTxsWithSdkMsg(
Expand All @@ -340,7 +342,9 @@ func TestWithdrawalGating_BlocksThenUnblocks(t *testing.T) {
require.Conditionf(t, resp.IsOK, "Expected CheckTx to succeed. Response: %+v", resp)
}
tApp.AdvanceToBlock(
tc.expectedNegativeTncSubaccountSeenAtBlock+satypes.WITHDRAWAL_AND_TRANSFERS_BLOCKED_AFTER_NEGATIVE_TNC_SUBACCOUNT_SEEN_BLOCKS+2,
tc.expectedNegativeTncSubaccountSeenAtBlock+
satypes.WITHDRAWAL_AND_TRANSFERS_BLOCKED_AFTER_NEGATIVE_TNC_SUBACCOUNT_SEEN_BLOCKS+
2,
testapp.AdvanceToBlockOptions{},
)
})
Expand Down

0 comments on commit 2d20eac

Please sign in to comment.