mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
jsonrpc: Fix wrong argument order in failed connection attempt
Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
parent
fa1806da61
commit
d9d618aff9
@ -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…
Reference in New Issue
Block a user