Revert from simple-rlp (does not serialize correctly)

This commit is contained in:
nolash
2021-03-19 20:14:32 +01:00
parent 8a017c74f0
commit 2efe10162e
2 changed files with 3 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ def private_key_to_address(pk, result_format='hex'):
elif result_format == 'bytes':
return z[:20]
raise ValueError('invalid result format "{}"'.format(result_format))
def is_address(address_hex):
try: