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

Commit 010e6b2

Browse files
author
Jan Xie
authored
Merge pull request #735 from gsalgado/fix_mk_genesis_data
Fix parse_genesis_declaration.mk_genesis_data()
2 parents 827b118 + 5fb6664 commit 010e6b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ethereum/parse_genesis_declaration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ def mk_genesis_data(env, **kwargs):
6767
genesis_data = {
6868
"prevhash": kwargs.get('prevhash', encode_hex(env.config['GENESIS_PREVHASH'])),
6969
"coinbase": kwargs.get('coinbase', encode_hex(env.config['GENESIS_COINBASE'])),
70-
"difficulty": kwargs.get('difficulty', encode_hex(env.config['GENESIS_DIFFICULTY'])),
71-
"gas_limit": kwargs.get('gas_limit', encode_hex(env.config['GENESIS_GAS_LIMIT'])),
70+
"difficulty": kwargs.get('difficulty', env.config['GENESIS_DIFFICULTY']),
71+
"gas_limit": kwargs.get('gas_limit', env.config['GENESIS_GAS_LIMIT']),
7272
"timestamp": kwargs.get('timestamp', 0),
7373
"extra_data": kwargs.get('extra_data', encode_hex(env.config['GENESIS_EXTRA_DATA'])),
7474
"mixhash": kwargs.get('mixhash', encode_hex(env.config['GENESIS_MIXHASH'])),

0 commit comments

Comments
 (0)