Skip to content

Commit

Permalink
gossip: Bump gossip_getnodes_reply result count to be u32 as well
Browse files Browse the repository at this point in the history
Otherwise we'll just have the same issue once we reach 65k nodes.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
  • Loading branch information
cdecker committed Mar 27, 2019
1 parent 25e829c commit 426b22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gossipd/gossip_wire.csv
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 426b22f

Please sign in to comment.