From 7021acc6c5084f959627108be2ba6b953ddda101 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Fri, 20 May 2022 15:35:28 -0400 Subject: [PATCH] fix lint --- internal/blocksync/reactor_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/blocksync/reactor_test.go b/internal/blocksync/reactor_test.go index dd358ca06..0477eb45d 100644 --- a/internal/blocksync/reactor_test.go +++ b/internal/blocksync/reactor_test.go @@ -188,7 +188,7 @@ func (rts *reactorTestSuite) addNode( state, err := reactor.stateStore.Load() require.NoError(t, err) for blockHeight := int64(1); blockHeight <= maxBlockHeight; blockHeight++ { - block, blockID, partSet, seenExtCommit := makeNextBlock(t, ctx, state, privVal, blockHeight, lastExtCommit) + block, blockID, partSet, seenExtCommit := makeNextBlock(ctx, t, state, privVal, blockHeight, lastExtCommit) state, err = reactor.blockExec.ApplyBlock(ctx, state, blockID, block) require.NoError(t, err) @@ -202,8 +202,8 @@ func (rts *reactorTestSuite) addNode( require.True(t, reactor.IsRunning()) } -func makeNextBlock(t *testing.T, - ctx context.Context, +func makeNextBlock(ctx context.Context, + t *testing.T, state sm.State, signer types.PrivValidator, height int64,