gossip: Make the listchannels reply result count a u32

Fixes #2504

Signed-off-by: Christian Decker <decker.christian@gmail.com>
Reported-by: Antoine Le Calvez <@alecalve>
This commit is contained in:
Christian Decker
2019-03-26 19:29:49 +01:00
parent 3ce98ab7de
commit 25e829c7d1

View File

@@ -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.
1 #include <common/cryptomsg.h>
46 gossip_ping,,id,struct pubkey
47 gossip_ping,,num_pong_bytes,u16
48 gossip_ping,,len,u16
49 gossip_ping_reply,3108
50 gossip_ping_reply,,id,struct pubkey
51 # False if id in gossip_ping was unknown.
52 gossip_ping_reply,,sent,bool