diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-06-12 00:20:30 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-06-19 04:20:45 +0800 |
commit | 8507c867b9cca2b1d59182baea90ab2844d494a0 (patch) | |
tree | 00b4e2580b7dc012cf2e71f12fcf87d2a0d7a617 /cmd | |
parent | 6931267324a4cb00d1edf0b8e85333b744882c2d (diff) | |
download | dexon-8507c867b9cca2b1d59182baea90ab2844d494a0.tar.gz dexon-8507c867b9cca2b1d59182baea90ab2844d494a0.tar.zst dexon-8507c867b9cca2b1d59182baea90ab2844d494a0.zip |
Fix geth blocktest command
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/geth/blocktestcmd.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/geth/blocktestcmd.go b/cmd/geth/blocktestcmd.go index ffea4400e..116eec2b3 100644 --- a/cmd/geth/blocktestcmd.go +++ b/cmd/geth/blocktestcmd.go @@ -86,6 +86,7 @@ func runBlockTest(ctx *cli.Context) { } func runOneBlockTest(ctx *cli.Context, test *tests.BlockTest) (*eth.Ethereum, error) { + // TODO remove in favor of logic contained in tests package cfg := utils.MakeEthConfig(ClientIdentifier, Version, ctx) cfg.NewDB = func(path string) (common.Database, error) { return ethdb.NewMemDatabase() } cfg.MaxPeers = 0 // disable network |