mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 08:49:29 +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
|
return err
|
||||||
}
|
}
|
||||||
meta := newBlobTxMeta(id, tx.Size(), store.Size(id), tx)
|
meta := newBlobTxMeta(id, tx.Size(), store.Size(id), tx)
|
||||||
item.TxMeta, item.Tx = meta, nil
|
l.existsAndSet(meta)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
@ -247,7 +247,7 @@ func (l *limbo) setAndIndex(meta *blobTxMeta, block uint64) error {
|
||||||
TxHash: txhash,
|
TxHash: txhash,
|
||||||
Block: block,
|
Block: block,
|
||||||
TxMeta: meta,
|
TxMeta: meta,
|
||||||
Tx: nil,
|
Tx: nil, // The tx is stored in the blob database, not here.
|
||||||
}
|
}
|
||||||
data, err := rlp.EncodeToBytes(item)
|
data, err := rlp.EncodeToBytes(item)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue