From 629cb531722cb73661353ccc2a1eb64af0c857d7 Mon Sep 17 00:00:00 2001 From: palkeo Date: Sun, 11 Aug 2019 20:30:36 +0200 Subject: [PATCH] uses_entire_calldata is always a Bool --- mythril/laser/ethereum/call.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mythril/laser/ethereum/call.py b/mythril/laser/ethereum/call.py index 9657fa5a..bc1c360c 100644 --- a/mythril/laser/ethereum/call.py +++ b/mythril/laser/ethereum/call.py @@ -200,9 +200,7 @@ def get_call_data( memory_size == global_state.environment.calldata.calldatasize ) - if (isinstance(uses_entire_calldata, bool) and uses_entire_calldata) or ( - isinstance(uses_entire_calldata, Bool) and is_true(uses_entire_calldata) - ): + if is_true(uses_entire_calldata): return global_state.environment.calldata try: