From c6cc3cbd263f5da2061ab78760d6136ad506a3b3 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Tue, 9 Aug 2022 15:42:57 -0400 Subject: [PATCH] fix https://github.com/lbryio/hub/issues/68 --- hub/db/prefixes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hub/db/prefixes.py b/hub/db/prefixes.py index 41bcff7..103ac14 100644 --- a/hub/db/prefixes.py +++ b/hub/db/prefixes.py @@ -430,11 +430,11 @@ class DBState(typing.NamedTuple): @property def catching_up(self) -> bool: - return self.bit_fields & 1 == 1 + return self.bit_fields & 1 != 0 @property def index_address_statuses(self) -> bool: - return self.bit_fields & 2 == 1 + return self.bit_fields & 2 != 0 @property def expanded(self):