aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/blocktestcmd.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-06-20 20:32:33 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-06-20 20:32:33 +0800
commit9c69c051ba010e2323d665d2ef273773f9dd7aa3 (patch)
treee0d705729778ad60b70c6b3de9d0c3d22f9a0fa7 /cmd/geth/blocktestcmd.go
parent53e042f0c47242afa3e13cfebb35becdacdc69c0 (diff)
parentd1e589289c56140144241a245e1756dbdc7280a0 (diff)
downloadgo-tangerine-9c69c051ba010e2323d665d2ef273773f9dd7aa3.tar
go-tangerine-9c69c051ba010e2323d665d2ef273773f9dd7aa3.tar.gz
go-tangerine-9c69c051ba010e2323d665d2ef273773f9dd7aa3.tar.bz2
go-tangerine-9c69c051ba010e2323d665d2ef273773f9dd7aa3.tar.lz
go-tangerine-9c69c051ba010e2323d665d2ef273773f9dd7aa3.tar.xz
go-tangerine-9c69c051ba010e2323d665d2ef273773f9dd7aa3.tar.zst
go-tangerine-9c69c051ba010e2323d665d2ef273773f9dd7aa3.zip
Merge pull request #1236 from tgerring/ethtest
ethtest improvements
Diffstat (limited to 'cmd/geth/blocktestcmd.go')
-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