Fix ecrecover type signature

pull/632/head
Dominik Muhs 6 years ago
parent c3f80adfb6
commit 76795763d2
  1. 2
      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)

Loading…
Cancel
Save