mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 15:44:21 +01:00
splicing: Add channel state AWAITING_SPLICE
Update gossip routiens and various other hecks on the channel state to consider AWAITING_SPLICE to be routable and treated similar to CHANNELD_NORMAL. Small updates to psbt interface Changelog-None
This commit is contained in:
committed by
Rusty Russell
parent
108658a539
commit
50fe819f47
@@ -317,7 +317,10 @@ static struct node_map *local_connected(const tal_t *ctx,
|
||||
/* Must also have a channel in CHANNELD_NORMAL */
|
||||
normal_chan = json_tok_streq(buf,
|
||||
json_get_member(buf, channel, "state"),
|
||||
"CHANNELD_NORMAL");
|
||||
"CHANNELD_NORMAL")
|
||||
|| json_tok_streq(buf,
|
||||
json_get_member(buf, channel, "state"),
|
||||
"CHANNELD_AWAITING_SPLICE");
|
||||
|
||||
if (normal_chan)
|
||||
node_map_add(connected,
|
||||
|
||||
Reference in New Issue
Block a user