OSDN Git Service

update add-xpub
authorChengcheng Zhang <943420582@qq.com>
Fri, 12 Jul 2019 09:36:43 +0000 (17:36 +0800)
committerChengcheng Zhang <943420582@qq.com>
Fri, 12 Jul 2019 09:36:43 +0000 (17:36 +0800)
api/nodeinfo.go

index 17c9a35..591f7af 100644 (file)
@@ -22,7 +22,7 @@ type NetInfo struct {
        Listening    bool         `json:"listening"`
        Syncing      bool         `json:"syncing"`
        Mining       bool         `json:"mining"`
-       NodeXPub     string       `json:"peer_xpub"`
+       NodeXPub     string       `json:"node_xpub"`
        PeerCount    int          `json:"peer_count"`
        CurrentBlock uint64       `json:"current_block"`
        HighestBlock uint64       `json:"highest_block"`