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

Commit 3323d11

Browse files
committed
Merge branch 'develop' of github.com:ethereum/pyethereum into develop
2 parents 288d1a8 + 8edc595 commit 3323d11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ethereum/snapshot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ def load_state(env, alloc):
177177

178178
def get_account(env, rlpdata):
179179
if rlpdata != BLANK_NODE:
180-
return rlp.decode(rlpdata, Account, db=env.db)
180+
return rlp.decode(rlpdata, Account, env=env)
181181
else:
182-
return Account.blank_account(env.db, env.config['ACCOUNT_INITIAL_NONCE'])
182+
return Account.blank_account(env, env.config['ACCOUNT_INITIAL_NONCE'])
183183

184184

185185
def snapshot_form(val):

0 commit comments

Comments
 (0)