commit 7ec7dd07d096cbf5a9fda7f65c90b0e220629634
parent 6020c848a9c7bf52d48d0771bc9c9515166b464b
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 26 May 2020 19:14:58 +0200
swaps: disable rbf
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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))