aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-04-28 05:48:49 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-04-28 05:48:49 +0800
commitf54c2e75c8b3ba3464605ce3febd64645b28dd28 (patch)
tree77d50d5bc7a6bbeb4e3dca0c5c05a5cd4d11b6e4 /cmd/geth
parentaa4c25778f971c95effc09858c6bc5e746300120 (diff)
parent34c94d5fcdf31d4b4603e945b4b3e119fdd25f46 (diff)
downloaddexon-f54c2e75c8b3ba3464605ce3febd64645b28dd28.tar
dexon-f54c2e75c8b3ba3464605ce3febd64645b28dd28.tar.gz
dexon-f54c2e75c8b3ba3464605ce3febd64645b28dd28.tar.bz2
dexon-f54c2e75c8b3ba3464605ce3febd64645b28dd28.tar.lz
dexon-f54c2e75c8b3ba3464605ce3febd64645b28dd28.tar.xz
dexon-f54c2e75c8b3ba3464605ce3febd64645b28dd28.tar.zst
dexon-f54c2e75c8b3ba3464605ce3febd64645b28dd28.zip
Merge pull request #818 from Gustav-Simonsson/add_privkey_loading_to_block_tests
Add privkey loading to block tests
Diffstat (limited to 'cmd/geth')
-rw-r--r--cmd/geth/blocktest.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/blocktest.go b/cmd/geth/blocktest.go
index 343a0bf28..5c80ad07e 100644
--- a/cmd/geth/blocktest.go
+++ b/cmd/geth/blocktest.go
@@ -104,7 +104,7 @@ func runOneBlockTest(ctx *cli.Context, test *tests.BlockTest) (*eth.Ethereum, er
ethereum.ResetWithGenesisBlock(test.Genesis)
// import pre accounts
- statedb, err := test.InsertPreState(ethereum.StateDb())
+ statedb, err := test.InsertPreState(ethereum)
if err != nil {
return ethereum, fmt.Errorf("InsertPreState: %v", err)
}