aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-06-30 23:40:26 -0400
committerJeff Garzik <jgarzik@redhat.com>2012-06-30 23:40:26 -0400
commit18e8e43715b0704b0e94d60f51bce28d6510ed0d (patch)
tree7030790d28d72dc3fe95ff82cdec95ce9fd71ade
parenteca96d71187ddd053fa3be0e9e396b4a700d9ae0 (diff)
RPC getpeerinfo: s/height/startingheight/ for returned nStartingHeight value
-rw-r--r--src/rpcnet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp
index c5746651c1..f0038dea9f 100644
--- a/src/rpcnet.cpp
+++ b/src/rpcnet.cpp
@@ -56,7 +56,7 @@ Value getpeerinfo(const Array& params, bool fHelp)
obj.push_back(Pair("subver", stats.strSubVer));
obj.push_back(Pair("inbound", stats.fInbound));
obj.push_back(Pair("releasetime", (boost::int64_t)stats.nReleaseTime));
- obj.push_back(Pair("height", stats.nStartingHeight));
+ obj.push_back(Pair("startingheight", stats.nStartingHeight));
obj.push_back(Pair("banscore", stats.nMisbehavior));
ret.push_back(obj);