mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
gossipd: receive global/local features the right way around
Fixes: #323 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
954a3990fa
commit
8d9818ff9c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user