Fixing bug where RBF wasn't detected when using bitcoind
This commit is contained in:
parent
c7639b4768
commit
0d1d1ab449
@ -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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user