mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
devtools: fix ZOMBIE detection in devtools/dump-gossipstore.
A victim of simultaneous changes, and I didn't pick it up :(
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Alex Myers
parent
0110026190
commit
73e50b26f9
@@ -74,7 +74,7 @@ int main(int argc, char *argv[])
|
|||||||
deleted = (flags & GOSSIP_STORE_DELETED_BIT);
|
deleted = (flags & GOSSIP_STORE_DELETED_BIT);
|
||||||
push = (flags & GOSSIP_STORE_PUSH_BIT);
|
push = (flags & GOSSIP_STORE_PUSH_BIT);
|
||||||
ratelimit = (flags & GOSSIP_STORE_RATELIMIT_BIT);
|
ratelimit = (flags & GOSSIP_STORE_RATELIMIT_BIT);
|
||||||
zombie = (msglen & GOSSIP_STORE_ZOMBIE_BIT);
|
zombie = (flags & GOSSIP_STORE_ZOMBIE_BIT);
|
||||||
|
|
||||||
msg = tal_arr(NULL, u8, msglen);
|
msg = tal_arr(NULL, u8, msglen);
|
||||||
if (read(fd, msg, msglen) != msglen)
|
if (read(fd, msg, msglen) != msglen)
|
||||||
|
|||||||
Reference in New Issue
Block a user