Skip to content

Commit

Permalink
gossip: Make the listchannels reply result count a u32
Browse files Browse the repository at this point in the history
Fixes #2504

Signed-off-by: Christian Decker <decker.christian@gmail.com>
Reported-by: Antoine Le Calvez <@alecalve>
  • Loading branch information
cdecker committed Mar 27, 2019
1 parent 3ce98ab commit 25e829c
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 @@ -46,7 +46,7 @@ gossip_getchannels_request,,short_channel_id,?struct short_channel_id
gossip_getchannels_request,,source,?struct pubkey

gossip_getchannels_reply,3107
gossip_getchannels_reply,,num_channels,u16
gossip_getchannels_reply,,num_channels,u32
gossip_getchannels_reply,,nodes,num_channels*struct gossip_getchannels_entry

# Ping/pong test. Waits for a reply if it expects one.
Expand Down

0 comments on commit 25e829c

Please sign in to comment.