From 8d9818ff9ccd235fd9129e34e2c3ca23f43d42b3 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 26 Oct 2017 13:41:21 +1030 Subject: [PATCH] gossipd: receive global/local features the right way around Fixes: #323 Signed-off-by: Rusty Russell --- gossipd/gossip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gossipd/gossip.c b/gossipd/gossip.c index 9a26ae851..c93622365 100644 --- a/gossipd/gossip.c +++ b/gossipd/gossip.c @@ -1009,8 +1009,8 @@ static struct io_plan *gossip_init(struct daemon_conn *master, if (!fromwire_gossipctl_init(daemon, msg, NULL, &daemon->broadcast_interval, &chain_hash, &daemon->id, &port, - &daemon->localfeatures, - &daemon->globalfeatures)) { + &daemon->globalfeatures, + &daemon->localfeatures)) { master_badmsg(WIRE_GOSSIPCTL_INIT, msg); } daemon->rstate = new_routing_state(daemon, &chain_hash);