always show syncnode in getpeerinfo (fixes #2717)
This commit is contained in:
parent
b8d9058a4d
commit
3e0753b0f5
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user