Skip to content

Commit

Permalink
fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
h5law committed Jul 23, 2023
1 parent 35ea88d commit 084e6bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ibc/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func newTestConsensusModule(t *testing.T, bus modules.Bus) modules.ConsensusModu
return consensusMod.(modules.ConsensusModule)
}

func newTestP2PModule(t *testing.T, bus modules.Bus) modules.P2PModule {
func newTestP2PModule(t *testing.T) modules.P2PModule {
t.Helper()

ctrl := gomock.NewController(t)
Expand Down Expand Up @@ -116,7 +116,7 @@ func prepareEnvironment(
require.NoError(t, err)
bus.RegisterModule(testConsensusMod)

testP2PMock := newTestP2PModule(t, bus)
testP2PMock := newTestP2PModule(t)
err = testP2PMock.Start()
require.NoError(t, err)
bus.RegisterModule(testP2PMock)
Expand Down

0 comments on commit 084e6bd

Please sign in to comment.