From 966ee81e6fa87b594fd25d3e77e71a412c7ddfa5 Mon Sep 17 00:00:00 2001 From: Ivan Vershigora Date: Tue, 10 Sep 2024 12:18:59 +0100 Subject: [PATCH] fix: allow RBF when sending to yourself --- src/wallet/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wallet/index.ts b/src/wallet/index.ts index 74d78b4..375354c 100644 --- a/src/wallet/index.ts +++ b/src/wallet/index.ts @@ -3976,7 +3976,6 @@ export class Wallet { this.rbf && (t.rbf ?? false) && t.type === EPaymentType.sent && - t.matchedOutputValue !== t.totalOutputValue && t.matchedOutputValue > t.fee && btcToSats(t.matchedOutputValue) > TRANSACTION_DEFAULTS.recommendedBaseFee;