mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-25 09:19:28 +00:00
core/txpool/blobpool: fix bug on converTx append
This commit is contained in:
parent
c03867d66a
commit
3c8b108156
1 changed files with 1 additions and 1 deletions
|
|
@ -580,7 +580,7 @@ func (p *BlobPool) Init(gasTip uint64, head *types.Header, reserver txpool.Reser
|
|||
} else if legacy {
|
||||
fails = append(fails, id)
|
||||
tx := new(types.Transaction)
|
||||
if err := rlp.DecodeBytes(blob, tx); err != nil {
|
||||
if err := rlp.DecodeBytes(blob, tx); err == nil {
|
||||
convertTxs = append(convertTxs, tx)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue