mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-06 02:52:19 +00:00
save
This commit is contained in:
parent
75afb1f42e
commit
bed7824206
@ -281,6 +281,9 @@ func (f *Fetch) handleInboundMessage(ctx context.Context, req *sentry.InboundMes
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if len(txs.txs) == 0 {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if err := f.coreDB.View(ctx, func(tx kv.Tx) error {
|
if err := f.coreDB.View(ctx, func(tx kv.Tx) error {
|
||||||
return f.pool.Add(tx, txs)
|
return f.pool.Add(tx, txs)
|
||||||
}); err != nil {
|
}); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user