diff --git a/txpool/fetch.go b/txpool/fetch.go index 918447e0f..24c0d9535 100644 --- a/txpool/fetch.go +++ b/txpool/fetch.go @@ -281,6 +281,9 @@ func (f *Fetch) handleInboundMessage(ctx context.Context, req *sentry.InboundMes return err } } + if len(txs.txs) == 0 { + return nil + } if err := f.coreDB.View(ctx, func(tx kv.Tx) error { return f.pool.Add(tx, txs) }); err != nil {