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

Commit 7adb2e1

Browse files
committed
Added reset_genesis to chain initialization from state
1 parent 307ae60 commit 7adb2e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ethereum/pow/chain.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def __init__(self, genesis=None, env=None, coinbase=b'\x00' * 20, \
4343
self.state = genesis
4444
self.env = self.state.env
4545
print('Initializing chain from provided state')
46+
reset_genesis = True
4647
elif "extraData" in genesis:
4748
self.state = state_from_genesis_declaration(
4849
genesis, self.env)

0 commit comments

Comments
 (0)