Skip to content

Commit 815b4b5

Browse files
committed
Fix generated_by_local arg to build commmitment during splicing
`build_commitment_transaction`'s fifth argument is supposed to be whether we're the one generating the commitment (i.e. because we're signing rather than validating the commitment). During splicing, this doesn't matter because there should be no async HTLC addition/removal happening so the commitment generated wil be the same in either case, but its still good to pass the correct bool. Backport of 0f4e6c2
1 parent 272ee11 commit 815b4b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6252,7 +6252,7 @@ where
62526252
commitment_number,
62536253
&commitment_point,
62546254
false,
6255-
false,
6255+
true,
62566256
logger,
62576257
);
62586258
let counterparty_initial_commitment_tx = commitment_data.tx;

0 commit comments

Comments
 (0)