aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/puppeth/wizard_genesis.go
diff options
context:
space:
mode:
authorkiel barry <kiel.j.barry@gmail.com>2018-06-05 18:31:34 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-06-05 18:31:34 +0800
commitcbfb40b0aab093e1b612f3b16834894b2cc67882 (patch)
tree19cbd1397343459aabf211857fcc5df26f4cee6c /cmd/puppeth/wizard_genesis.go
parent4cf2b4110e9942bdcba1b9b1d82b3ca8ff552f64 (diff)
downloaddexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar
dexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.gz
dexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.bz2
dexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.lz
dexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.xz
dexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.zst
dexon-cbfb40b0aab093e1b612f3b16834894b2cc67882.zip
params: fix golint warnings (#16853)
params: fix golint warnings
Diffstat (limited to 'cmd/puppeth/wizard_genesis.go')
-rw-r--r--cmd/puppeth/wizard_genesis.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/puppeth/wizard_genesis.go b/cmd/puppeth/wizard_genesis.go
index f255ef6e6..6c4cd571f 100644
--- a/cmd/puppeth/wizard_genesis.go
+++ b/cmd/puppeth/wizard_genesis.go
@@ -121,7 +121,7 @@ func (w *wizard) makeGenesis() {
// Query the user for some custom extras
fmt.Println()
fmt.Println("Specify your chain/network ID if you want an explicit one (default = random)")
- genesis.Config.ChainId = new(big.Int).SetUint64(uint64(w.readDefaultInt(rand.Intn(65536))))
+ genesis.Config.ChainID = new(big.Int).SetUint64(uint64(w.readDefaultInt(rand.Intn(65536))))
// All done, store the genesis and flush to disk
log.Info("Configured new genesis block")