aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/blocktest/flags.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-09 23:58:06 +0800
committerFelix Lange <fjl@twurst.com>2015-03-10 06:07:24 +0800
commit2dacb51fb02816c7591bfdbaaf7a160e122e5590 (patch)
treec4d06cdd037bd6a75e0cac562d2d88cd4957fbf8 /cmd/blocktest/flags.go
parent6684ef201a1a133aafdec6b24564533756de3cd4 (diff)
downloaddexon-2dacb51fb02816c7591bfdbaaf7a160e122e5590.tar
dexon-2dacb51fb02816c7591bfdbaaf7a160e122e5590.tar.gz
dexon-2dacb51fb02816c7591bfdbaaf7a160e122e5590.tar.bz2
dexon-2dacb51fb02816c7591bfdbaaf7a160e122e5590.tar.lz
dexon-2dacb51fb02816c7591bfdbaaf7a160e122e5590.tar.xz
dexon-2dacb51fb02816c7591bfdbaaf7a160e122e5590.tar.zst
dexon-2dacb51fb02816c7591bfdbaaf7a160e122e5590.zip
cmd/blocktest: simplify to fix build
block tests only need the chain, not all of ethereum.
Diffstat (limited to 'cmd/blocktest/flags.go')
-rw-r--r--cmd/blocktest/flags.go41
1 files changed, 0 insertions, 41 deletions
diff --git a/cmd/blocktest/flags.go b/cmd/blocktest/flags.go
deleted file mode 100644
index c811e5b85..000000000
--- a/cmd/blocktest/flags.go
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- This file is part of go-ethereum
-
- go-ethereum is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- go-ethereum is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
-*/
-/**
- * @authors
- * Gustav Simonsson <gustav.simonsson@gmail.com>
- */
-package main
-
-import (
- "flag"
- "fmt"
- "os"
-)
-
-var (
- TestFile string
-)
-
-func Init() {
- flag.Usage = func() {
- fmt.Fprintf(os.Stderr, "%s <testfile>\n", os.Args[0])
- flag.PrintDefaults()
- }
- flag.Parse()
-
- TestFile = flag.Arg(0)
-}