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 /eth/gen_config.go | |
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 'eth/gen_config.go')
-rw-r--r-- | eth/gen_config.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/gen_config.go b/eth/gen_config.go index 56fba1d89..955facf8f 100644 --- a/eth/gen_config.go +++ b/eth/gen_config.go @@ -15,7 +15,7 @@ import ( func (c Config) MarshalTOML() (interface{}, error) { type Config struct { Genesis *core.Genesis `toml:",omitempty"` - NetworkId int + NetworkId uint64 SyncMode downloader.SyncMode LightServ int `toml:",omitempty"` LightPeers int `toml:",omitempty"` @@ -72,7 +72,7 @@ func (c Config) MarshalTOML() (interface{}, error) { func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error { type Config struct { Genesis *core.Genesis `toml:",omitempty"` - NetworkId *int + NetworkId *uint64 SyncMode *downloader.SyncMode LightServ *int `toml:",omitempty"` LightPeers *int `toml:",omitempty"` |