Skip to content

Commit 5a7bf3e

Browse files
committed
splice: Add call to hsmd_{check,lock}_outpoint on mutual splice_locked
1 parent bbfe29c commit 5a7bf3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

channeld/channeld.c

+3
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,9 @@ static void check_mutual_splice_locked(struct peer *peer)
789789
status_debug("mutual splice_locked, channel updated to: %s",
790790
type_to_string(tmpctx, struct channel, peer->channel));
791791

792+
/* ensure the signer is locking at the same time */
793+
lock_signer_outpoint(&inflight->outpoint);
794+
792795
msg = towire_channeld_got_splice_locked(NULL, inflight->amnt,
793796
inflight->splice_amnt,
794797
&inflight->outpoint.txid);

0 commit comments

Comments
 (0)