From 94fcb5d453522e5e6de581dec50d087cdc114972 Mon Sep 17 00:00:00 2001 From: Nikhil Parasaram Date: Thu, 3 Oct 2019 16:58:34 +0100 Subject: [PATCH] Revert "Enable optimizer when compiling Soldity files (#1226)" This reverts commit b0e57b2768280687d9b0bad34a13ed04a68ba164. --- mythril/ethereum/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mythril/ethereum/util.py b/mythril/ethereum/util.py index a6e1d874..0fd72dcb 100644 --- a/mythril/ethereum/util.py +++ b/mythril/ethereum/util.py @@ -33,7 +33,7 @@ def get_solc_json(file, solc_binary="solc", solc_settings_json=None): :param solc_settings_json: :return: """ - cmd = [solc_binary, "--optimize", "--standard-json", "--allow-paths", "."] + cmd = [solc_binary, "--standard-json", "--allow-paths", "."] settings = json.loads(solc_settings_json) if solc_settings_json else {} settings.update(