From f61c2d4515351cfead82d71a2e087bd9162f50eb Mon Sep 17 00:00:00 2001 From: anonymousdouble <112695649+anonymousdouble@users.noreply.github.com> Date: Wed, 27 Dec 2023 23:24:02 +1100 Subject: [PATCH] Update cli.py (#1828) * Update cli.py refactor with chain assignment to make code more Pythonic, concise and efficient. * Reformat --------- Co-authored-by: Nikhil Parasaram --- mythril/interfaces/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mythril/interfaces/cli.py b/mythril/interfaces/cli.py index 1cb5f479..09935b66 100644 --- a/mythril/interfaces/cli.py +++ b/mythril/interfaces/cli.py @@ -784,10 +784,10 @@ def execute_command( print("Disassembly: \n" + disassembler.contracts[0].get_creation_easm()) elif args.command == SAFE_FUNCTIONS_COMMAND: - args.unconstrained_storage = True + args.no_onchain_data = ( + args.disable_dependency_pruning + ) = args.unconstrained_storage = True args.pruning_factor = 1 - args.disable_dependency_pruning = True - args.no_onchain_data = True function_analyzer = MythrilAnalyzer( strategy=strategy, disassembler=disassembler, address=address, cmd_args=args )