mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
fix empty senders array check #4308
This commit is contained in:
parent
710f664161
commit
e0323e7434
@ -1226,7 +1226,7 @@ func (b *Block) Body() *Body {
|
||||
return bd
|
||||
}
|
||||
func (b *Block) SendersToTxs(senders []common.Address) {
|
||||
if senders == nil {
|
||||
if len(senders) == 0 {
|
||||
return
|
||||
}
|
||||
for i, tx := range b.transactions {
|
||||
|
Loading…
Reference in New Issue
Block a user