Browse Source

gossipd: receive global/local features the right way around

Fixes: #323
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
committed by Christian Decker
parent
commit
8d9818ff9c
  1. 4
      gossipd/gossip.c

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

Loading…
Cancel
Save