aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/blocktestcmd.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/geth/blocktestcmd.go')
-rw-r--r--cmd/geth/blocktestcmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/blocktestcmd.go b/cmd/geth/blocktestcmd.go
index d6195e025..e0a5becdc 100644
--- a/cmd/geth/blocktestcmd.go
+++ b/cmd/geth/blocktestcmd.go
@@ -118,7 +118,7 @@ func runOneBlockTest(ctx *cli.Context, test *tests.BlockTest) (*eth.Ethereum, er
return ethereum, fmt.Errorf("InsertPreState: %v", err)
}
- cm := ethereum.ChainManager()
+ cm := ethereum.BlockChain()
validBlocks, err := test.TryBlocksInsert(cm)
if err != nil {
return ethereum, fmt.Errorf("Block Test load error: %v", err)