diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-15 13:29:48 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 207d24b34b2aa076c009e0b6de3a52895d9707fa (patch) | |
tree | b0fd2fe550308cd4d66d32e804a011939a1821e8 /dex/handler.go | |
parent | a217d3b3be51b38c7d6cf9a606bd7a6d5e9f0f5b (diff) | |
download | dexon-207d24b34b2aa076c009e0b6de3a52895d9707fa.tar dexon-207d24b34b2aa076c009e0b6de3a52895d9707fa.tar.gz dexon-207d24b34b2aa076c009e0b6de3a52895d9707fa.tar.bz2 dexon-207d24b34b2aa076c009e0b6de3a52895d9707fa.tar.lz dexon-207d24b34b2aa076c009e0b6de3a52895d9707fa.tar.xz dexon-207d24b34b2aa076c009e0b6de3a52895d9707fa.tar.zst dexon-207d24b34b2aa076c009e0b6de3a52895d9707fa.zip |
core: fix tests
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 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 |