diff options
author | Mission Liao <mission.liao@dexon.org> | 2019-02-25 19:08:17 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:22 +0800 |
commit | 20718c049c3988f6aac25bee2d33f959ad517deb (patch) | |
tree | 19fc4ec3a0f5fbcfa753353c87a5da545a8c4cd0 /dex/handler.go | |
parent | 8e92e73dc650ac03c228fbb26a3afe88a5bc237c (diff) | |
download | go-tangerine-20718c049c3988f6aac25bee2d33f959ad517deb.tar go-tangerine-20718c049c3988f6aac25bee2d33f959ad517deb.tar.gz go-tangerine-20718c049c3988f6aac25bee2d33f959ad517deb.tar.bz2 go-tangerine-20718c049c3988f6aac25bee2d33f959ad517deb.tar.lz go-tangerine-20718c049c3988f6aac25bee2d33f959ad517deb.tar.xz go-tangerine-20718c049c3988f6aac25bee2d33f959ad517deb.tar.zst go-tangerine-20718c049c3988f6aac25bee2d33f959ad517deb.zip |
params: add Yilan network (#207)
* Add Yilan network
* Fixup: remove dummy log
Diffstat (limited to 'dex/handler.go')
-rw-r--r-- | dex/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/handler.go b/dex/handler.go index f56c6f5dc..474852913 100644 --- a/dex/handler.go +++ b/dex/handler.go @@ -1248,7 +1248,7 @@ func (pm *ProtocolManager) peerSetLoop() { // NodeInfo represents a short summary of the Ethereum sub-protocol metadata // known about the host peer. type NodeInfo struct { - Network uint64 `json:"network"` // DEXON network ID (237=Mainnet, 238=Taiwan, 239=Taipei) + Network uint64 `json:"network"` // DEXON network ID (237=Mainnet, 238=Taiwan, 239=Taipei, 240=Yilan) Number uint64 `json:"number"` // Total difficulty of the host's blockchain Genesis common.Hash `json:"genesis"` // SHA3 hash of the host's genesis block Config *params.ChainConfig `json:"config"` // Chain configuration for the fork rules |