diff options
Diffstat (limited to 'core/chain_indexer_test.go')
-rw-r--r-- | core/chain_indexer_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_indexer_test.go b/core/chain_indexer_test.go index d685d3f8d..9fc09eda5 100644 --- a/core/chain_indexer_test.go +++ b/core/chain_indexer_test.go @@ -209,7 +209,7 @@ func (b *testChainIndexBackend) reorg(headNum uint64) uint64 { return b.stored * b.indexer.sectionSize } -func (b *testChainIndexBackend) Reset(section uint64, lastSectionHead common.Hash) error { +func (b *testChainIndexBackend) Reset(section uint64, prevHead common.Hash) error { b.section = section b.headerCnt = 0 return nil |