From 18e8e43715b0704b0e94d60f51bce28d6510ed0d Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Sat, 30 Jun 2012 23:40:26 -0400 Subject: [PATCH] RPC getpeerinfo: s/height/startingheight/ for returned nStartingHeight value --- src/rpcnet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp index c5746651c..f0038dea9 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);