mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-12 08:08:25 +00:00
RPC getpeerinfo: s/height/startingheight/ for returned nStartingHeight value
This commit is contained in:
parent
eca96d7118
commit
18e8e43715
@ -56,7 +56,7 @@ Value getpeerinfo(const Array& params, bool fHelp)
|
|||||||
obj.push_back(Pair("subver", stats.strSubVer));
|
obj.push_back(Pair("subver", stats.strSubVer));
|
||||||
obj.push_back(Pair("inbound", stats.fInbound));
|
obj.push_back(Pair("inbound", stats.fInbound));
|
||||||
obj.push_back(Pair("releasetime", (boost::int64_t)stats.nReleaseTime));
|
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));
|
obj.push_back(Pair("banscore", stats.nMisbehavior));
|
||||||
|
|
||||||
ret.push_back(obj);
|
ret.push_back(obj);
|
||||||
|
Loading…
Reference in New Issue
Block a user