aboutsummaryrefslogtreecommitdiffstats
path: root/dex/handler.go
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2019-02-25 19:08:17 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commitf3658a11e0a72da8da4c716cbcecc69d79f396ce (patch)
treebec0b457f6305f58473974bb855bf69519a873e3 /dex/handler.go
parentd779f5aead9e91b97c8d05136ddb7a6bd84f4276 (diff)
downloaddexon-f3658a11e0a72da8da4c716cbcecc69d79f396ce.tar
dexon-f3658a11e0a72da8da4c716cbcecc69d79f396ce.tar.gz
dexon-f3658a11e0a72da8da4c716cbcecc69d79f396ce.tar.bz2
dexon-f3658a11e0a72da8da4c716cbcecc69d79f396ce.tar.lz
dexon-f3658a11e0a72da8da4c716cbcecc69d79f396ce.tar.xz
dexon-f3658a11e0a72da8da4c716cbcecc69d79f396ce.tar.zst
dexon-f3658a11e0a72da8da4c716cbcecc69d79f396ce.zip
params: add Yilan network (#207)
* Add Yilan network * Fixup: remove dummy log
Diffstat (limited to 'dex/handler.go')
-rw-r--r--dex/handler.go2
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