mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core/txpool: log error
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
06394e068b
commit
1a1ad0beae
1 changed files with 4 additions and 0 deletions
|
|
@ -1636,6 +1636,8 @@ func (p *BlobPool) Content() (map[common.Address][]*types.Transaction, map[commo
|
|||
for _, meta := range metas {
|
||||
if tx, err := p.get(meta.id); err == nil {
|
||||
pending[addr] = append(pending[addr], tx)
|
||||
} else {
|
||||
log.Error("Failed to retrieve blob transaction", "hash", meta.hash, "id", meta.id, "err", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1654,6 +1656,8 @@ func (p *BlobPool) ContentFrom(addr common.Address) ([]*types.Transaction, []*ty
|
|||
for _, meta := range metas {
|
||||
if tx, err := p.get(meta.id); err == nil {
|
||||
pending = append(pending, tx)
|
||||
} else {
|
||||
log.Error("Failed to retrieve blob transaction", "hash", meta.hash, "id", meta.id, "err", err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue