1
0

swaps: set locktime to None instead of zero, so that anti fee-sniping works

This commit is contained in:
ThomasV
2025-03-13 12:45:56 +01:00
parent ca05cc3eb0
commit b64109ea88

View File

@@ -1064,7 +1064,7 @@ class SwapManager(Logger):
swap: SwapData,
) -> PartialTransaction:
if swap.is_reverse: # successful reverse swap
locktime = 0
locktime = None
# preimage will be set in sign_tx
else: # timing out forward swap
locktime = swap.locktime