upgrade blobpool

This commit is contained in:
maskpp 2025-08-10 15:24:16 +08:00
parent 524ba61b04
commit c13ba75bfb

View file

@ -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 {