We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ac32eb commit d143c22Copy full SHA for d143c22
devtools/gossmap-compress.c
@@ -84,11 +84,12 @@ static unsigned int verbose = 0;
84
#define GC_HEADERLEN (sizeof(GC_HEADER))
85
#define GOSSIP_STORE_VER ((0 << 5) | 14)
86
87
+/* Backwards, we want larger first */
88
static int cmp_node_num_chans(struct gossmap_node *const *a,
89
struct gossmap_node *const *b,
90
void *unused)
91
{
- return (int)(*a)->num_chans - (int)(*b)->num_chans;
92
+ return (int)(*b)->num_chans - (int)(*a)->num_chans;
93
}
94
95
static void write_bigsize(gzFile outf, u64 val)
0 commit comments