mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 19:00:46 +00:00
delete item
This commit is contained in:
parent
21f5158249
commit
918aa15cd3
1 changed files with 3 additions and 0 deletions
|
|
@ -118,6 +118,9 @@ func (l *limbo) finalize(final *types.Header) {
|
||||||
if item.Block > final.Number.Uint64() {
|
if item.Block > final.Number.Uint64() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if err := l.store.Delete(item.id); err != nil {
|
||||||
|
log.Error("Failed to drop finalized blob", "block", item.Block, "id", item.id, "err", err)
|
||||||
|
}
|
||||||
delete(l.index, item.TxHash)
|
delete(l.index, item.TxHash)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue