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:
Rusty Russell 2023-02-15 09:43:58 +10:30 committed by Alex Myers
parent 0110026190
commit 73e50b26f9

View file

@ -74,7 +74,7 @@ int main(int argc, char *argv[])
deleted = (flags & GOSSIP_STORE_DELETED_BIT);
push = (flags & GOSSIP_STORE_PUSH_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);
if (read(fd, msg, msglen) != msglen)