Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit c6d6455

Browse files
committed
missing bytes prefix on string
1 parent 31eae7f commit c6d6455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethereum/tests/test_abi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_abi_decode_single_bytes():
5454
assert (b'\x01\x02' + b'\x00'*6) == abi.decode_single(typ, abi.encode_single(typ, '\x01\x02'))
5555

5656
typ = ['bytes', '', []]
57-
assert b'\x01\x02' == abi.decode_single(typ, abi.encode_single(typ, '\x01\x02'))
57+
assert b'\x01\x02' == abi.decode_single(typ, abi.encode_single(typ, b'\x01\x02'))
5858

5959
def test_abi_encode_single_prefixed_address():
6060
prefixed_address = '0x' + '0'*40

0 commit comments

Comments
 (0)