Browse Source

jsonrpc: Fix wrong argument order in failed connection attempt

Signed-off-by: Christian Decker <decker.christian@gmail.com>
ppa-0.6.1
Christian Decker 7 years ago
committed by Rusty Russell
parent
commit
d9d618aff9
  1. 4
      lightningd/peer_control.c

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

Loading…
Cancel
Save