diff options
Diffstat (limited to 'core/leader-selector_test.go')
-rw-r--r-- | core/leader-selector_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/leader-selector_test.go b/core/leader-selector_test.go index 9e09279..4738663 100644 --- a/core/leader-selector_test.go +++ b/core/leader-selector_test.go @@ -38,7 +38,7 @@ type LeaderSelectorTestSuite struct { func (s *LeaderSelectorTestSuite) SetupTest() { s.mockValidLeaderDefault = true s.mockValidLeaderDB = make(map[common.Hash]bool) - s.mockValidLeader = func(b *types.Block) (bool, error) { + s.mockValidLeader = func(b *types.Block, _ common.Hash) (bool, error) { if ret, exist := s.mockValidLeaderDB[b.Hash]; exist { return ret, nil } |