Skip to content

Commit 6b4a240

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.
1 parent c394c69 commit 6b4a240

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
@@ -6255,7 +6255,7 @@ where
62556255
commitment_number,
62566256
&commitment_point,
62576257
false,
6258-
false,
6258+
true,
62596259
logger,
62606260
);
62616261
let counterparty_initial_commitment_tx = commitment_data.tx;

0 commit comments

Comments
 (0)