mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
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:
@@ -400,6 +400,7 @@ void channel_notify_new_block(struct lightningd *ld,
|
||||
block_height - channel->first_blocknum,
|
||||
type_to_string(tmpctx, struct bitcoin_txid,
|
||||
&channel->funding_txid));
|
||||
/* FIXME: Send an error packet for this case! */
|
||||
/* And forget it. */
|
||||
delete_channel(channel);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user