mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-04 18:35:03 +00:00
Update core/txpool/blobpool/limbo.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
3970e5e868
commit
188a7c5f2f
1 changed files with 2 additions and 2 deletions
|
|
@ -261,8 +261,8 @@ func (l *limbo) getAndDrop(id uint64) (*limboBlob, error) {
|
|||
// drop removes the blob metadata from the limbo.
|
||||
func (l *limbo) drop(txhash common.Hash) error {
|
||||
if item, ok := l.index[txhash]; ok {
|
||||
// Retrieve the old blobs from the data store and write them back with a new
|
||||
// block number. IF anything fails, there's not much to do, go on.
|
||||
// Remove the blob metadata entry from the limbo store. If anything fails,
|
||||
// there's not much to do besides logging the error and returning.
|
||||
if err := l.store.Delete(item.id); err != nil {
|
||||
log.Error("Failed to drop old limboed blobs", "tx", txhash, "err", err)
|
||||
return err
|
||||
|
|
|
|||
Loading…
Reference in a new issue