diff --git a/common/gossip_store.h b/common/gossip_store.h index 9da13b521..98abd5f9a 100644 --- a/common/gossip_store.h +++ b/common/gossip_store.h @@ -29,11 +29,6 @@ struct gossip_rcvd_filter; */ #define GOSSIP_STORE_DELETED_BIT 0x8000U -/** - * Bit of flags we use to mark an important record. - */ -#define GOSSIP_STORE_PUSH_BIT 0x4000U - /** * Bit of flags used to mark a channel announcement closed (not deleted for 12 blocks) */ diff --git a/devtools/dump-gossipstore.c b/devtools/dump-gossipstore.c index 6cd6d29b2..70cee3eb2 100644 --- a/devtools/dump-gossipstore.c +++ b/devtools/dump-gossipstore.c @@ -67,20 +67,18 @@ int main(int argc, char *argv[]) u16 flags = be16_to_cpu(hdr.flags); u16 msglen = be16_to_cpu(hdr.len); u8 *msg, *inner; - bool deleted, push, dying; + bool deleted, dying; u32 blockheight; deleted = (flags & GOSSIP_STORE_DELETED_BIT); - push = (flags & GOSSIP_STORE_PUSH_BIT); dying = (flags & GOSSIP_STORE_DYING_BIT); msg = tal_arr(NULL, u8, msglen); if (read(fd, msg, msglen) != msglen) errx(1, "%zu: Truncated file?", off); - printf("%zu: %s%s%s%s", off, + printf("%zu: %s%s%s", off, deleted ? "DELETED " : "", - push ? "PUSH " : "", dying ? "DYING " : "", be32_to_cpu(hdr.crc) != crc32c(be32_to_cpu(hdr.timestamp), msg, msglen) ? "**BAD CHECKSUM** " : "");