always show syncnode in getpeerinfo (fixes #2717)

This commit is contained in:
Philip Kaufmann 2014-02-16 18:44:49 +01:00
parent b8d9058a4d
commit 3e0753b0f5

View File

@ -140,8 +140,7 @@ Value getpeerinfo(const Array& params, bool fHelp)
if (fStateStats) {
obj.push_back(Pair("banscore", statestats.nMisbehavior));
}
if (stats.fSyncNode)
obj.push_back(Pair("syncnode", true));
obj.push_back(Pair("syncnode", stats.fSyncNode));
ret.push_back(obj);
}