OSDN Git Service

test1
authorpaladz <453256728@qq.com>
Thu, 24 May 2018 10:55:27 +0000 (18:55 +0800)
committerpaladz <453256728@qq.com>
Thu, 24 May 2018 10:55:27 +0000 (18:55 +0800)
p2p/node_info.go

index a6ba162..6e2543b 100644 (file)
@@ -16,8 +16,8 @@ type NodeInfo struct {
        PubKey     crypto.PubKeyEd25519 `json:"pub_key"`
        Moniker    string               `json:"moniker"`
        Network    string               `json:"network"`
-       ListenAddr string               `json:"listen_addr"`
        RemoteAddr string               `json:"remote_addr"`
+       ListenAddr string               `json:"listen_addr"`
        Version    string               `json:"version"` // major.minor.revision
        Other      []string             `json:"other"`   // other application specific data
 }