diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-03-27 11:20:43 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-03-27 11:20:49 +0100 |
commit | 77eaa6fc45ba7cda90ca7c1ed2374e488a553d2e (patch) | |
tree | baf5500ce6d82bf4e2ca816df8b32f13bd5dd307 /src | |
parent | 410c2fa317a54200df7561f90fc8b68f1398ba8b (diff) | |
parent | 3e0753b0f5a0d2b2d8ed647439bcb8bb8370629f (diff) |
Merge pull request #3682
3e0753b always show syncnode in getpeerinfo (fixes #2717) (Philip Kaufmann)
Diffstat (limited to 'src')
-rw-r--r-- | src/rpcnet.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp index efe4f54b0e..3fe328772a 100644 --- a/src/rpcnet.cpp +++ b/src/rpcnet.cpp @@ -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); } |