Skip to content

Commit 7d5c5af

Browse files
committed
kevm-pyk/__main__: silly logic error
1 parent 3d23575 commit 7d5c5af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kevm-pyk/src/kevm_pyk/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def prove_it(_id_and_cfg: Tuple[str, Tuple[KCFG, Path]]) -> bool:
382382
_LOGGER.error(f'Proof failed: {_cfg_id}\n{foundry.pretty_print(result_state)}')
383383
_write_cfg(_cfg, _cfg_path)
384384
failure_nodes = cfg.frontier + cfg.stuck
385-
return failure_nodes == 0
385+
return len(failure_nodes) == 0
386386

387387
with ProcessPool(ncpus=workers) as process_pool:
388388
results = process_pool.map(prove_it, kcfgs.items())

0 commit comments

Comments
 (0)