Fix mypy and flake8
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import sha3
|
||||
|
||||
|
||||
def get_selector_from_function(fn: str) -> bytes:
|
||||
return sha3.keccak_256(fn.encode()).digest()[0:4]
|
||||
|
||||
Reference in New Issue
Block a user