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

Commit 263f98a

Browse files
committed
use byte strings
1 parent cffb8e1 commit 263f98a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethereum/testutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def acct_standard_form(a):
6767
"nonce": parse_int_or_hex(a["nonce"]),
6868
"code": to_string(a["code"]),
6969
"storage": {normalize_hex(k): normalize_hex(v) for
70-
k, v in a["storage"].items() if normalize_hex(v).rstrip('0') != '0x'}
70+
k, v in a["storage"].items() if normalize_hex(v).rstrip(b'0') != b'0x'}
7171
}
7272

7373

0 commit comments

Comments
 (0)