aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-04-28 01:32:45 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-04-28 02:30:26 +0800
commit34c94d5fcdf31d4b4603e945b4b3e119fdd25f46 (patch)
tree77d50d5bc7a6bbeb4e3dca0c5c05a5cd4d11b6e4 /cmd
parent2a61611c4fe2db9ef4466e11712c9ffd73636c15 (diff)
downloadgo-tangerine-34c94d5fcdf31d4b4603e945b4b3e119fdd25f46.tar
go-tangerine-34c94d5fcdf31d4b4603e945b4b3e119fdd25f46.tar.gz
go-tangerine-34c94d5fcdf31d4b4603e945b4b3e119fdd25f46.tar.bz2
go-tangerine-34c94d5fcdf31d4b4603e945b4b3e119fdd25f46.tar.lz
go-tangerine-34c94d5fcdf31d4b4603e945b4b3e119fdd25f46.tar.xz
go-tangerine-34c94d5fcdf31d4b4603e945b4b3e119fdd25f46.tar.zst
go-tangerine-34c94d5fcdf31d4b4603e945b4b3e119fdd25f46.zip
Add loading of block test privkey if present
Diffstat (limited to 'cmd')
-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)
}