From 34c94d5fcdf31d4b4603e945b4b3e119fdd25f46 Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Mon, 27 Apr 2015 19:32:45 +0200 Subject: Add loading of block test privkey if present --- cmd/geth/blocktest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') 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) } -- cgit v1.2.3