channel: skip unsaved channels

Now that "peer->channels" contains `unsaved` channels, skip overthem
where appropriate
This commit is contained in:
niftynei
2021-01-21 18:55:23 -06:00
committed by neil saitug
parent b9f867b1dd
commit da81d4bced
13 changed files with 86 additions and 11 deletions

View File

@@ -19,4 +19,6 @@ void dualopen_tell_depth(struct subd *dualopend,
struct channel *channel,
const struct bitcoin_txid *txid,
u32 depth);
void kill_unsaved_channel(struct channel *channel,
const char *why);
#endif /* LIGHTNING_LIGHTNINGD_DUAL_OPEN_CONTROL_H */