mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
skip empty senders (#4359)
This commit is contained in:
parent
24af9bd1c6
commit
457e043401
@ -885,7 +885,9 @@ func ReadReceipts(db kv.Tx, block *types.Block, senders []common.Address) types.
|
||||
if receipts == nil {
|
||||
return nil
|
||||
}
|
||||
block.SendersToTxs(senders)
|
||||
if len(senders) > 0 {
|
||||
block.SendersToTxs(senders)
|
||||
}
|
||||
if err := receipts.DeriveFields(block.Hash(), block.NumberU64(), block.Transactions(), senders); err != nil {
|
||||
log.Error("Failed to derive block receipts fields", "hash", block.Hash(), "number", block.NumberU64(), "err", err, "stack", dbg.Stack())
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user