mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 22:45:27 +01:00
renepay: splicing channels are also usable for payments.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
be3a59c7c3
commit
71a09138b6
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue