mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 14:24:09 +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:
parent
0110026190
commit
73e50b26f9
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue