gossip: Bump gossip_getnodes_reply result count to be u32 as well

Otherwise we'll just have the same issue once we reach 65k nodes.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
Christian Decker 2019-03-26 19:33:05 +01:00
parent 25e829c7d1
commit 426b22fdcb

View File

@ -21,7 +21,7 @@ gossip_getnodes_request,,id,?struct pubkey
#include <lightningd/gossip_msg.h>
gossip_getnodes_reply,3105
gossip_getnodes_reply,,num_nodes,u16
gossip_getnodes_reply,,num_nodes,u32
gossip_getnodes_reply,,nodes,num_nodes*struct gossip_getnodes_entry
# Pass JSON-RPC getroute call through

1 #include <common/cryptomsg.h>
21 gossip_getnodes_reply,,num_nodes,u16 gossip_getnodes_reply,,num_nodes,u32
22 gossip_getnodes_reply,,nodes,num_nodes*struct gossip_getnodes_entry
23 # Pass JSON-RPC getroute call through
24 gossip_getroute_request,3006
25 gossip_getroute_request,,source,struct pubkey
26 gossip_getroute_request,,destination,struct pubkey
27 gossip_getroute_request,,msatoshi,struct amount_msat