diff options
author | R E Broadley <rebroad+github@gmail.com> | 2016-10-14 21:11:38 +0700 |
---|---|---|
committer | R E Broadley <rebroad+github@gmail.com> | 2016-10-15 20:43:11 +0700 |
commit | 1724a405c9065f2c939e936aca9b5d37fca5e954 (patch) | |
tree | ec0a4b2adf350f1dfbef0408d9d6e3dd314c207d /src/rpc/net.cpp | |
parent | 8d46429c83ec3815d0c595bf541ef5557c6b4942 (diff) |
Display minimum ping in debug window.
Diffstat (limited to 'src/rpc/net.cpp')
-rw-r--r-- | src/rpc/net.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index b011029f51..a8442d8692 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -141,8 +141,8 @@ UniValue getpeerinfo(const UniValue& params, bool fHelp) obj.push_back(Pair("timeoffset", stats.nTimeOffset)); if (stats.dPingTime > 0.0) obj.push_back(Pair("pingtime", stats.dPingTime)); - if (stats.dPingMin < std::numeric_limits<int64_t>::max()/1e6) - obj.push_back(Pair("minping", stats.dPingMin)); + if (stats.dMinPing < std::numeric_limits<int64_t>::max()/1e6) + obj.push_back(Pair("minping", stats.dMinPing)); if (stats.dPingWait > 0.0) obj.push_back(Pair("pingwait", stats.dPingWait)); obj.push_back(Pair("version", stats.nVersion)); |