Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion clvm_tools/cmds.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,11 @@ def launch_tool(args, tool_name, default_stage=0):
use_rust = (
(tool_name != "run")
and not pre_eval_f
and deserialize_and_run_program2
and (
args.backend == "rust"
or (deserialize_and_run_program2 and args.backend != "python")
or
args.backend != "python"
)
)
max_cost = max(0, args.max_cost - cost_offset if args.max_cost != 0 else 0)
Expand Down