mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-22 10:58:08 +00:00
upgrade blobpool
This commit is contained in:
parent
524ba61b04
commit
c13ba75bfb
1 changed files with 2 additions and 2 deletions
|
|
@ -142,7 +142,7 @@ func (l *limbo) tryRepair(store billy.Database) error {
|
|||
return err
|
||||
}
|
||||
meta := newBlobTxMeta(id, tx.Size(), store.Size(id), tx)
|
||||
item.TxMeta, item.Tx = meta, nil
|
||||
l.existsAndSet(meta)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
@ -247,7 +247,7 @@ func (l *limbo) setAndIndex(meta *blobTxMeta, block uint64) error {
|
|||
TxHash: txhash,
|
||||
Block: block,
|
||||
TxMeta: meta,
|
||||
Tx: nil,
|
||||
Tx: nil, // The tx is stored in the blob database, not here.
|
||||
}
|
||||
data, err := rlp.EncodeToBytes(item)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue