aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-03-22 06:00:39 +0800
committerFelix Lange <fjl@twurst.com>2016-04-12 21:34:39 +0800
commit83877a0f9d3d5716ee01393f10c2dfa19bb0310b (patch)
tree6cb52aab194cdd3f0f5b197f057e942ae4689fa9 /cmd
parent8627680e24a29abd5f2aaaeaa2c1c852d8fb693b (diff)
downloaddexon-83877a0f9d3d5716ee01393f10c2dfa19bb0310b.tar.gz
dexon-83877a0f9d3d5716ee01393f10c2dfa19bb0310b.tar.zst
dexon-83877a0f9d3d5716ee01393f10c2dfa19bb0310b.zip
tests: remove eth, node, accounts dependencies
Unlocking the accounts in the test doesn't help with anything.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gethrpctest/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gethrpctest/main.go b/cmd/gethrpctest/main.go
index 38016fb35..b8b92a509 100644
--- a/cmd/gethrpctest/main.go
+++ b/cmd/gethrpctest/main.go
@@ -123,7 +123,7 @@ func MakeSystemNode(keydir string, privkey string, test *tests.BlockTest) (*node
}
// Initialize and register the Ethereum protocol
db, _ := ethdb.NewMemDatabase()
- if _, err := test.InsertPreState(db, accman); err != nil {
+ if _, err := test.InsertPreState(db); err != nil {
return nil, err
}
ethConf := &eth.Config{