eip-55 checksum_encode spec typo

This commit is contained in:
Jason Carver 2017-10-21 09:29:39 -07:00 committed by GitHub
parent 669e848dc4
commit c9e53026aa
1 changed files with 1 additions and 1 deletions

View File

@ -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')