We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4322803 commit be85a0bCopy full SHA for be85a0b
chia/_tests/blockchain/blockchain_test_utils.py
@@ -18,8 +18,7 @@
18
async def check_block_store_invariant(bc: Blockchain):
19
# This function checks the invariant of the sqlite database.
20
# Only operate on the sqlite block store.
21
- if not isinstance(bc.consensus_store, ConsensusStoreSQLite3):
22
- return
+ assert isinstance(bc.consensus_store, ConsensusStoreSQLite3)
23
24
db_wrapper = bc.consensus_store.block_store.db_wrapper
25
0 commit comments