Browse Source

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

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
parent
commit
15542a01eb
  1. 1
      lightningd/channel_control.c

1
lightningd/channel_control.c

@ -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);
}

Loading…
Cancel
Save