aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-04-02 17:40:25 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-04-02 17:40:25 +0800
commit96c7c39ae4a031a508b0470ff2b1a95f0f3f9e51 (patch)
tree394b3366a84ed3460233848849e84a96025fb2d4 /eth/backend.go
parentfb578f4550a08617485d9146876489d1f3bb1b52 (diff)
parentcf842b3fe5ad497ef8dfd24c9179bc2fadbc707f (diff)
downloaddexon-96c7c39ae4a031a508b0470ff2b1a95f0f3f9e51.tar
dexon-96c7c39ae4a031a508b0470ff2b1a95f0f3f9e51.tar.gz
dexon-96c7c39ae4a031a508b0470ff2b1a95f0f3f9e51.tar.bz2
dexon-96c7c39ae4a031a508b0470ff2b1a95f0f3f9e51.tar.lz
dexon-96c7c39ae4a031a508b0470ff2b1a95f0f3f9e51.tar.xz
dexon-96c7c39ae4a031a508b0470ff2b1a95f0f3f9e51.tar.zst
dexon-96c7c39ae4a031a508b0470ff2b1a95f0f3f9e51.zip
Merge pull request #2409 from fjl/geth-fixup-init
cmd/geth: fix startup with empty database
Diffstat (limited to 'eth/backend.go')
-rw-r--r--eth/backend.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 3c3440a53..26af7ff91 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -169,10 +169,6 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) {
// Load up any custom genesis block if requested
if len(config.Genesis) > 0 {
- // Using println instead of glog to make sure it **always** displays regardless of
- // verbosity settings.
- common.PrintDepricationWarning("--genesis is deprecated. Switch to use 'geth init /path/to/file'")
-
block, err := core.WriteGenesisBlock(chainDb, strings.NewReader(config.Genesis))
if err != nil {
return nil, err