Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Sep 18, 2023
1 parent 2dd28d2 commit 713fdd9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 576 deletions.
5 changes: 4 additions & 1 deletion txpool/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,10 @@ func (f *Fetch) handleStateChanges(ctx context.Context, client StateChangesClien
if err = f.threadSafeParseStateChangeTxn(func(parseContext *types2.TxParseContext) error {
_, err = parseContext.ParseTransaction(change.Txs[i], 0, unwindTxs.Txs[i], unwindTxs.Senders.At(i), false /* hasEnvelope */, false /* wrappedWithBlobs */, nil)
if unwindTxs.Txs[i].Type == types2.BlobTxType {
knownBlobTxn := f.pool.GetKnownBlobTxn(tx, unwindTxs.Txs[i].IDHash[:])
knownBlobTxn, err := f.pool.GetKnownBlobTxn(tx, unwindTxs.Txs[i].IDHash[:])
if err != nil {
return err
}
if knownBlobTxn != nil {
unwindTxs.Txs[i] = knownBlobTxn.Tx
}
Expand Down
Loading

0 comments on commit 713fdd9

Please sign in to comment.