From 7ec7dd07d096cbf5a9fda7f65c90b0e220629634 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 26 May 2020 19:14:58 +0200 Subject: [PATCH] swaps: disable rbf --- electrum/submarine_swaps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/submarine_swaps.py b/electrum/submarine_swaps.py index 68e544a1a..355eb70b6 100644 --- a/electrum/submarine_swaps.py +++ b/electrum/submarine_swaps.py @@ -66,7 +66,7 @@ def create_claim_tx(txin, witness_script, preimage, privkey:bytes, address, amou txin.witness_script = witness_script txout = PartialTxOutput(scriptpubkey=bytes.fromhex(address_to_script(address)), value=amount_sat) tx = PartialTransaction.from_io([txin], [txout], version=2, locktime=(None if preimage else locktime)) - tx.set_rbf(True) + #tx.set_rbf(True) sig = bytes.fromhex(tx.sign_txin(0, privkey)) witness = [sig, preimage, witness_script] txin.witness = bytes.fromhex(construct_witness(witness))