Fix blockdb has_block not having block path
This commit is contained in:
parent
4edbde82cc
commit
c065be0145
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user