From 8cc6d243c03fdbc0426248627fbc4a9e91759d3f Mon Sep 17 00:00:00 2001 From: t-bast Date: Tue, 25 Feb 2025 09:31:07 +0100 Subject: [PATCH] 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. --- 03-transactions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03-transactions.md b/03-transactions.md index 3eb7276..33adca9 100644 --- a/03-transactions.md +++ b/03-transactions.md @@ -363,7 +363,7 @@ These HTLC transactions are almost identical, except the HTLC-timeout transactio * locktime: `0` for HTLC-success, `cltv_expiry` for HTLC-timeout * txin count: 1 * `txin[0]` outpoint: `txid` of the commitment transaction and `output_index` of the matching HTLC output for the HTLC transaction - * `txin[0]` sequence: `1` for `option_anchors`, `0xFFFFFFFD` for `zero_fee_commitments`, `0` otherwise + * `txin[0]` sequence: `1` for `option_anchors`, `0` otherwise * `txin[0]` script bytes: `0` * `txin[0]` witness stack: `0 ` for HTLC-success, `0 <>` for HTLC-timeout * txout count: 1