lightningd: note that we should send an error msg on channel open timeout.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-08-02 16:19:56 +09:30
parent 45ad2498f3
commit 15542a01eb

View File

@@ -400,6 +400,7 @@ void channel_notify_new_block(struct lightningd *ld,
block_height - channel->first_blocknum, block_height - channel->first_blocknum,
type_to_string(tmpctx, struct bitcoin_txid, type_to_string(tmpctx, struct bitcoin_txid,
&channel->funding_txid)); &channel->funding_txid));
/* FIXME: Send an error packet for this case! */
/* And forget it. */ /* And forget it. */
delete_channel(channel); delete_channel(channel);
} }