mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-08 20:11:21 +00:00
taking bad transaction out the slice (#5265)
This commit is contained in:
parent
ea576ba6f1
commit
68cc6e4612
@ -362,7 +362,7 @@ func filterBadTransactions(tx kv.Tx, transactions []types.Transaction, config pa
|
||||
transaction := transactions[0]
|
||||
sender, ok := transaction.GetSender()
|
||||
if !ok {
|
||||
transactions = transactions[:1]
|
||||
transactions = transactions[1:]
|
||||
continue
|
||||
}
|
||||
var account accounts.Account
|
||||
@ -371,7 +371,7 @@ func filterBadTransactions(tx kv.Tx, transactions []types.Transaction, config pa
|
||||
return nil, err
|
||||
}
|
||||
if !ok {
|
||||
transactions = transactions[:1]
|
||||
transactions = transactions[1:]
|
||||
continue
|
||||
}
|
||||
// Check transaction nonce
|
||||
|
Loading…
Reference in New Issue
Block a user