uses_entire_calldata is always a Bool

pull/1195/head
palkeo 5 years ago
parent a5b91716ed
commit 629cb53172
  1. 4
      mythril/laser/ethereum/call.py

@ -200,9 +200,7 @@ def get_call_data(
memory_size == global_state.environment.calldata.calldatasize memory_size == global_state.environment.calldata.calldatasize
) )
if (isinstance(uses_entire_calldata, bool) and uses_entire_calldata) or ( if is_true(uses_entire_calldata):
isinstance(uses_entire_calldata, Bool) and is_true(uses_entire_calldata)
):
return global_state.environment.calldata return global_state.environment.calldata
try: try:

Loading…
Cancel
Save