always show syncnode in getpeerinfo (fixes #2717)
This commit is contained in:
parent
b8d9058a4d
commit
3e0753b0f5
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue