Skip to content

Commit 8cc6d24

Browse files
committed
Revert using nSequence=0xFFFFFFFD for HTLCs
HTLC transactions don't benefit from the wider network's anonymity set, so we can stick to `0` as we did previously.
1 parent c1110b1 commit 8cc6d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

03-transactions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ These HTLC transactions are almost identical, except the HTLC-timeout transactio
363363
* locktime: `0` for HTLC-success, `cltv_expiry` for HTLC-timeout
364364
* txin count: 1
365365
* `txin[0]` outpoint: `txid` of the commitment transaction and `output_index` of the matching HTLC output for the HTLC transaction
366-
* `txin[0]` sequence: `1` for `option_anchors`, `0xFFFFFFFD` for `zero_fee_commitments`, `0` otherwise
366+
* `txin[0]` sequence: `1` for `option_anchors`, `0` otherwise
367367
* `txin[0]` script bytes: `0`
368368
* `txin[0]` witness stack: `0 <remotehtlcsig> <localhtlcsig> <payment_preimage>` for HTLC-success, `0 <remotehtlcsig> <localhtlcsig> <>` for HTLC-timeout
369369
* txout count: 1

0 commit comments

Comments
 (0)