mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 13:16:42 +00:00
core/filtermaps: update outdated comment referencing non-existent resetDb function
This commit is contained in:
parent
ca6e2d141b
commit
3f67671542
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ func (f *FilterMaps) reset() {
|
|||
f.lastBlockCache.Purge()
|
||||
f.lvPointerCache.Purge()
|
||||
f.indexLock.Unlock()
|
||||
// deleting the range first ensures that resetDb will be called again at next
|
||||
// deleting the range first ensures that DeleteFilterMapsDb will be called again at next
|
||||
// startup and any leftover data will be removed even if it cannot finish now.
|
||||
rawdb.DeleteFilterMapsRange(f.db)
|
||||
f.safeDeleteWithLogs(rawdb.DeleteFilterMapsDb, "Resetting log index database", f.isShuttingDown)
|
||||
|
|
|
|||
Loading…
Reference in a new issue