From b15de021f79d52e373dc2ef3359ed88af8b8b552 Mon Sep 17 00:00:00 2001 From: softsimon Date: Tue, 8 Mar 2022 18:08:53 +0100 Subject: [PATCH] Fixing bug where RBF wasn't detected when using bitcoind --- backend/src/api/websocket-handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/api/websocket-handler.ts b/backend/src/api/websocket-handler.ts index fe43a725f..77b4ef1a1 100644 --- a/backend/src/api/websocket-handler.ts +++ b/backend/src/api/websocket-handler.ts @@ -358,7 +358,7 @@ class WebsocketHandler { const rbfTx = rbfTransactions[rbfTransaction]; if (config.MEMPOOL.BACKEND !== 'esplora') { try { - const fullTx = await transactionUtils.$getTransactionExtended(rbfTransaction, true); + const fullTx = await transactionUtils.$getTransactionExtended(rbfTx.txid, true); response['rbfTransaction'] = fullTx; } catch (e) { logger.debug('Error finding transaction in mempool: ' + (e instanceof Error ? e.message : e));