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

Commit 35bfb19

Browse files
authored
Merge pull request #433 from cdetrio/develop
fix genesis timestamp thanks!
2 parents 1bde26e + bd921a6 commit 35bfb19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethereum/blocks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ def genesis(env, **kwargs):
14551455
number=0,
14561456
gas_limit=kwargs.get('gas_limit', env.config['GENESIS_GAS_LIMIT']),
14571457
gas_used=0,
1458-
timestamp=kwargs.get('timestamp', 0),
1458+
timestamp=kwargs.get('timestamp', env.config['GENESIS_TIMESTAMP']),
14591459
extra_data=kwargs.get('extra_data', env.config['GENESIS_EXTRA_DATA']),
14601460
mixhash=kwargs.get('mixhash', env.config['GENESIS_MIXHASH']),
14611461
nonce=kwargs.get('nonce', env.config['GENESIS_NONCE']),

0 commit comments

Comments
 (0)