1
0

swaps: set nsequence in create_claim_tx (follow-up previous commit)

This commit is contained in:
ThomasV
2024-12-11 10:24:40 +01:00
parent 0599254e1f
commit 1da937f103

View File

@@ -168,6 +168,7 @@ def create_claim_tx(
"""Create tx to either claim successful reverse-swap,
or to get refunded for timed-out forward-swap.
"""
txin.nsequence = 0xffffffff - 2
txin.script_sig = b''
txin.witness_script = witness_script
txout = PartialTxOutput.from_address_and_value(address, amount_sat)