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

Commit 1c35ecc

Browse files
committed
Fix encoding
1 parent 2c167f4 commit 1c35ecc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ethereum/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from rlp.utils import decode_hex
12
from ethereum import utils
23
from ethereum.db import BaseDB
34

@@ -52,7 +53,7 @@
5253
METROPOLIS_STATEROOT_STORE=0x10,
5354
METROPOLIS_BLOCKHASH_STORE=0x20,
5455
METROPOLIS_WRAPAROUND=65536,
55-
METROPOLIS_GETTER_CODE='6000355460205260206020f3'.decode('hex'),
56+
METROPOLIS_GETTER_CODE=decode_hex('6000355460205260206020f3'),
5657
)
5758
assert default_config['NEPHEW_REWARD'] == \
5859
default_config['BLOCK_REWARD'] // 32

0 commit comments

Comments
 (0)