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: