mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-29 07:07:16 +00:00
envelope (#518)
This commit is contained in:
parent
95e361fa1e
commit
cf57648d7d
@ -444,7 +444,7 @@ func (f *Fetch) handleStateChanges(ctx context.Context, client StateChangesClien
|
||||
for i := range change.Txs {
|
||||
minedTxs.Txs[i] = &types2.TxSlot{}
|
||||
if err = f.threadSafeParseStateChangeTxn(func(parseContext *types2.TxParseContext) error {
|
||||
_, err := parseContext.ParseTransaction(change.Txs[i], 0, minedTxs.Txs[i], minedTxs.Senders.At(i), true /* hasEnvelope */, nil)
|
||||
_, err := parseContext.ParseTransaction(change.Txs[i], 0, minedTxs.Txs[i], minedTxs.Senders.At(i), false /* hasEnvelope */, nil)
|
||||
return err
|
||||
}); err != nil {
|
||||
log.Warn("stream.Recv", "err", err)
|
||||
@ -457,7 +457,7 @@ func (f *Fetch) handleStateChanges(ctx context.Context, client StateChangesClien
|
||||
for i := range change.Txs {
|
||||
unwindTxs.Txs[i] = &types2.TxSlot{}
|
||||
if err = f.threadSafeParseStateChangeTxn(func(parseContext *types2.TxParseContext) error {
|
||||
_, err = parseContext.ParseTransaction(change.Txs[i], 0, unwindTxs.Txs[i], unwindTxs.Senders.At(i), true /* hasEnvelope */, nil)
|
||||
_, err = parseContext.ParseTransaction(change.Txs[i], 0, unwindTxs.Txs[i], unwindTxs.Senders.At(i), false /* hasEnvelope */, nil)
|
||||
return err
|
||||
}); err != nil {
|
||||
log.Warn("stream.Recv", "err", err)
|
||||
|
Loading…
Reference in New Issue
Block a user