From d9d618aff90388501ec87acae400a0991b9d84a7 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 30 Jan 2018 00:03:07 +0100 Subject: [PATCH] jsonrpc: Fix wrong argument order in failed connection attempt Signed-off-by: Christian Decker --- lightningd/peer_control.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightningd/peer_control.c b/lightningd/peer_control.c index e84fb0202..d17b85359 100644 --- a/lightningd/peer_control.c +++ b/lightningd/peer_control.c @@ -614,8 +614,8 @@ void peer_connection_failed(struct lightningd *ld, const u8 *msg) bool addr_unknown; char *error; - if (!fromwire_gossip_peer_connection_failed(msg, NULL, &id, &attempts, - &timediff, &addr_unknown)) + if (!fromwire_gossip_peer_connection_failed(msg, NULL, &id, &timediff, + &attempts, &addr_unknown)) fatal( "Gossip gave bad GOSSIP_PEER_CONNECTION_FAILED message %s", tal_hex(msg, msg));