From 53cc635d5c99098f46d00dd8ef33ca1aebcdcf32 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Wed, 25 Aug 2021 14:56:08 +0700 Subject: [PATCH] persistence --- txpool/pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/txpool/pool.go b/txpool/pool.go index 83618a177..c3868d7a2 100644 --- a/txpool/pool.go +++ b/txpool/pool.go @@ -1437,7 +1437,7 @@ func (p *WorstQueue) Pop() interface{} { // promote/demote transactions // reorgs func BroadcastLoop(ctx context.Context, db kv.RwDB, coreDB kv.RoDB, p *TxPool, senders *SendersCache, newTxs chan Hashes, send *Send, timings Timings) { - db.Update(ctx, func(tx kv.RwTx) error { return tx.ClearBucket(kv.PooledSender) }) + //db.Update(ctx, func(tx kv.RwTx) error { return tx.ClearBucket(kv.PooledSender) }) if err := db.View(ctx, func(tx kv.Tx) error { return coreDB.View(ctx, func(coreTx kv.Tx) error { return p.fromDB(ctx, tx, coreTx, senders)