mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
fix lint
This commit is contained in:
parent
5845427d0d
commit
ff11e10ac2
1 changed files with 0 additions and 1 deletions
|
|
@ -63,7 +63,6 @@ func New(datadir string) (*EraDatabase, error) {
|
||||||
if err := e.Close(); err != nil {
|
if err := e.Close(); err != nil {
|
||||||
log.Warn("Error closing era1 file", "epoch", epoch, "err", err)
|
log.Warn("Error closing era1 file", "epoch", epoch, "err", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// Take care to close era1 files when they are evicted from cache.
|
// Take care to close era1 files when they are evicted from cache.
|
||||||
db.cache.OnEvicted(closeEra)
|
db.cache.OnEvicted(closeEra)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue