diff --git a/lightningd/channel_control.c b/lightningd/channel_control.c index 009eceafb..39f5c9351 100644 --- a/lightningd/channel_control.c +++ b/lightningd/channel_control.c @@ -783,6 +783,13 @@ void peer_start_channeld(struct channel *channel, try_update_blockheight(ld, channel, get_block_height(ld->topology)); } + + /* Artificial confirmation event for zeroconf */ + if (channel_type_has(channel->type, OPT_ZEROCONF)) + subd_send_msg( + channel->owner, + take(towire_channeld_funding_depth( + NULL, channel->scid, channel->alias[LOCAL], 0))); } bool channel_tell_depth(struct lightningd *ld,