renepay: splicing channels are also usable for payments.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2023-08-18 14:32:29 +09:30
parent be3a59c7c3
commit 71a09138b6

View file

@ -291,7 +291,8 @@ bool uncertainty_network_update_from_listpeerchannels(
goto malformed;
/* Don't report opening/closing channels */
if (!json_tok_streq(buf, statetok, "CHANNELD_NORMAL")) {
if (!json_tok_streq(buf, statetok, "CHANNELD_NORMAL")
&& !json_tok_streq(buf, statetok, "CHANNELD_AWAITING_SPLICE")) {
tal_arr_expand(&p->disabled, scid);
continue;
}