Browse Source

Merge pull request #3682

3e0753b always show syncnode in getpeerinfo (fixes #2717) (Philip Kaufmann)
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
77eaa6fc45
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 3
      src/rpcnet.cpp

3
src/rpcnet.cpp

@ -138,8 +138,7 @@ Value getpeerinfo(const Array& params, bool fHelp) @@ -138,8 +138,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…
Cancel
Save