mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +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,
|
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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user