aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-06-12 00:20:30 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-06-19 04:20:45 +0800
commit8507c867b9cca2b1d59182baea90ab2844d494a0 (patch)
tree00b4e2580b7dc012cf2e71f12fcf87d2a0d7a617 /cmd
parent6931267324a4cb00d1edf0b8e85333b744882c2d (diff)
downloadgo-tangerine-8507c867b9cca2b1d59182baea90ab2844d494a0.tar
go-tangerine-8507c867b9cca2b1d59182baea90ab2844d494a0.tar.gz
go-tangerine-8507c867b9cca2b1d59182baea90ab2844d494a0.tar.bz2
go-tangerine-8507c867b9cca2b1d59182baea90ab2844d494a0.tar.lz
go-tangerine-8507c867b9cca2b1d59182baea90ab2844d494a0.tar.xz
go-tangerine-8507c867b9cca2b1d59182baea90ab2844d494a0.tar.zst
go-tangerine-8507c867b9cca2b1d59182baea90ab2844d494a0.zip
Fix geth blocktest command
Diffstat (limited to 'cmd')
-rw-r--r--cmd/geth/blocktestcmd.go1
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