aboutsummaryrefslogtreecommitdiffstats
path: root/dex/handler.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-15 13:29:48 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:19 +0800
commit5791965d8af0b1d8d30ae7232879d063cb5cd8f0 (patch)
tree37c6a697c4b5b82eb119f5fa65748bd2765ec03b /dex/handler.go
parent4c520e06a04c0b734dcc703dd007bb89cfb15a9d (diff)
downloadgo-tangerine-5791965d8af0b1d8d30ae7232879d063cb5cd8f0.tar
go-tangerine-5791965d8af0b1d8d30ae7232879d063cb5cd8f0.tar.gz
go-tangerine-5791965d8af0b1d8d30ae7232879d063cb5cd8f0.tar.bz2
go-tangerine-5791965d8af0b1d8d30ae7232879d063cb5cd8f0.tar.lz
go-tangerine-5791965d8af0b1d8d30ae7232879d063cb5cd8f0.tar.xz
go-tangerine-5791965d8af0b1d8d30ae7232879d063cb5cd8f0.tar.zst
go-tangerine-5791965d8af0b1d8d30ae7232879d063cb5cd8f0.zip
core: fix tests
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 60a5ede17..b6a75d2fd 100644
--- a/dex/handler.go
+++ b/dex/handler.go
@@ -1201,7 +1201,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"` // Ethereum network ID (1=Frontier, 2=Morden, Ropsten=3, Rinkeby=4)
+ Network uint64 `json:"network"` // DEXON network ID (237=Mainnet, 238=Taiwan, 239=Taipei)
Difficulty *big.Int `json:"difficulty"` // 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