mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-10 00:24:19 +01:00
fix: Allow pings while waiting for the channel to lock
This was causing failures on testnet where confirmations are not immediate. Reported-by: Fabrice Drouin @sstone Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
2bf92c9063
commit
35847206b2
@@ -1281,7 +1281,8 @@ static struct io_plan *peer_in(struct io_conn *conn, struct peer *peer, u8 *msg)
|
||||
if (type != WIRE_FUNDING_LOCKED
|
||||
&& type != WIRE_CHANNEL_ANNOUNCEMENT
|
||||
&& type != WIRE_CHANNEL_UPDATE
|
||||
&& type != WIRE_NODE_ANNOUNCEMENT) {
|
||||
&& type != WIRE_NODE_ANNOUNCEMENT
|
||||
&& type != WIRE_PING) {
|
||||
peer_failed(io_conn_fd(peer->peer_conn),
|
||||
&peer->pcs.cs,
|
||||
&peer->channel_id,
|
||||
|
||||
Reference in New Issue
Block a user