diff options
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/net.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index 632514fc85..fe59579593 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -152,6 +152,7 @@ UniValue getpeerinfo(const JSONRPCRequest& request) // their ver message. obj.push_back(Pair("subver", stats.cleanSubVer)); obj.push_back(Pair("inbound", stats.fInbound)); + obj.push_back(Pair("addnode", stats.fAddnode)); obj.push_back(Pair("startingheight", stats.nStartingHeight)); if (fStateStats) { obj.push_back(Pair("banscore", statestats.nMisbehavior)); |