Browse Source

RPC getpeerinfo: s/height/startingheight/ for returned nStartingHeight value

pull/1/head
Jeff Garzik 11 years ago committed by Jeff Garzik
parent
commit
18e8e43715
  1. 2
      src/rpcnet.cpp

2
src/rpcnet.cpp

@ -56,7 +56,7 @@ Value getpeerinfo(const Array& params, bool fHelp) @@ -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);

Loading…
Cancel
Save