mirror of
https://github.com/status-im/EIPs.git
synced 2025-01-27 07:05:47 +00:00
eip-55 checksum_encode spec typo
This commit is contained in:
parent
669e848dc4
commit
c9e53026aa
@ -26,7 +26,7 @@ def checksum_encode(addr): # Takes a 20-byte binary address as input
|
||||
return '0x'+o
|
||||
|
||||
def test(addrstr):
|
||||
assert(addrstr == checksum_encode2(bytes.fromhex(addrstr[2:])))
|
||||
assert(addrstr == checksum_encode(bytes.fromhex(addrstr[2:])))
|
||||
|
||||
test('0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed')
|
||||
test('0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359')
|
||||
|
Loading…
x
Reference in New Issue
Block a user