diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-04-25 19:31:15 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-04-25 19:53:50 +0800 |
commit | e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80 (patch) | |
tree | 9dd32e8fb794b4950313ae2b2cd5499bb60dc4cd /cmd/puppeth | |
parent | ba3bcd16a6d99bc0e58516556df8e96b730c2d60 (diff) | |
download | go-tangerine-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.tar go-tangerine-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.tar.gz go-tangerine-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.tar.bz2 go-tangerine-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.tar.lz go-tangerine-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.tar.xz go-tangerine-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.tar.zst go-tangerine-e61035c5a3630e4f6fd0fb3e5346a4eed8cedc80.zip |
cmd, eth, les, mobile: make networkid uint64 everywhere
Diffstat (limited to 'cmd/puppeth')
-rw-r--r-- | cmd/puppeth/wizard_genesis.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/puppeth/wizard_genesis.go b/cmd/puppeth/wizard_genesis.go index a67812e92..705e01031 100644 --- a/cmd/puppeth/wizard_genesis.go +++ b/cmd/puppeth/wizard_genesis.go @@ -120,7 +120,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 = big.NewInt(int64(w.readDefaultInt(rand.Intn(65536)))) + genesis.Config.ChainId = new(big.Int).SetUint64(uint64(w.readDefaultInt(rand.Intn(65536)))) fmt.Println() fmt.Println("Anything fun to embed into the genesis block? (max 32 bytes)") |