diff --git a/mythril/laser/ethereum/natives.py b/mythril/laser/ethereum/natives.py index 999bf7a1..2f1531f4 100644 --- a/mythril/laser/ethereum/natives.py +++ b/mythril/laser/ethereum/natives.py @@ -34,7 +34,7 @@ def extract32(data: bytearray, i: int) -> int: return bytearray_to_int(o) -def ecrecover(data: str) -> List: +def ecrecover(data: Union[bytes, str]) -> bytes: # TODO: Add type hints try: data = bytearray(data)