This commit is contained in:
Lex Berezhny 2020-09-21 22:17:45 -04:00
parent 082a91dc15
commit 052ef73226
2 changed files with 2 additions and 2 deletions

View file

@ -254,7 +254,7 @@ def get_block_range_without_filters() -> Tuple[int, int]:
.select_from(
BlockTable.join(BlockFilter, BlockTable.c.height == BlockFilter.c.height, isouter=True)
)
.where(BlockFilter.c.height == None)
.where(BlockFilter.c.height.is_(None))
)
result = context().fetchone(sql)
return result['start_height'], result['end_height']

View file

@ -4,7 +4,7 @@ import asyncio
import tempfile
from unittest import skip
from binascii import hexlify, unhexlify
from typing import List, Optional, Iterable
from typing import List, Optional
from distutils.dir_util import copy_tree, remove_tree
from lbry import Config, Database, RegTestLedger, Transaction, Output, Input