jsonrpc: Fix wrong argument order in failed connection attempt

Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
Christian Decker 2018-01-30 00:03:07 +01:00 committed by Rusty Russell
parent fa1806da61
commit d9d618aff9

View File

@ -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));