From 63b52b9d9b125663db1004d3d76317165546b651 Mon Sep 17 00:00:00 2001 From: softsimon Date: Sun, 14 Feb 2021 01:04:44 +0700 Subject: [PATCH] Use mempool clear protection feature also when in bitcoind mode. fixes #335 --- backend/src/api/mempool.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/api/mempool.ts b/backend/src/api/mempool.ts index 721ec4e2b..641825577 100644 --- a/backend/src/api/mempool.ts +++ b/backend/src/api/mempool.ts @@ -134,7 +134,6 @@ class Mempool { // Prevent mempool from clear on bitcoind restart by delaying the deletion if (this.mempoolProtection === 0 - && config.MEMPOOL.BACKEND === 'esplora' && currentMempoolSize > 20000 && transactions.length / currentMempoolSize <= 0.80 ) {