Fix blockdb has_block not having block path

This commit is contained in:
Kevin F 2022-05-05 00:04:37 -05:00
parent 4edbde82cc
commit c065be0145

View File

@ -41,7 +41,7 @@ def get_blocks_after_timestamp(
def has_block(block_hash):
return block_hash in db.list_keys()
return block_hash in db.list_keys(block_db_path)
def get_block(block_hash) -> Block: