Skip to content

Commit

Permalink
splice: Add call to hsmd_{check,lock}_outpoint on mutual splice_locked
Browse files Browse the repository at this point in the history
  • Loading branch information
ksedgwic committed Sep 28, 2023
1 parent bbfe29c commit 5a7bf3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions channeld/channeld.c
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,9 @@ static void check_mutual_splice_locked(struct peer *peer)
status_debug("mutual splice_locked, channel updated to: %s",
type_to_string(tmpctx, struct channel, peer->channel));

/* ensure the signer is locking at the same time */
lock_signer_outpoint(&inflight->outpoint);

msg = towire_channeld_got_splice_locked(NULL, inflight->amnt,
inflight->splice_amnt,
&inflight->outpoint.txid);
Expand Down

0 comments on commit 5a7bf3e

Please sign in to comment.