mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-29 10:19:26 +02:00
always show syncnode in getpeerinfo (fixes #2717)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user