diff options
author | Gregory Maxwell <gmaxwell@gmail.com> | 2012-05-22 20:33:35 -0700 |
---|---|---|
committer | Gregory Maxwell <gmaxwell@gmail.com> | 2012-05-22 20:33:35 -0700 |
commit | 7a99821377eb46a1cc8b0115daf3af01ddb26a16 (patch) | |
tree | 19c35a8d035c90752f741b90cb9a46e3890f48b0 | |
parent | f9189543bf4bdb099bc8b428d54226bd1050e1b0 (diff) | |
parent | 83e047eaa7651598f0040ac23988ac8aa6469dd5 (diff) |
Merge pull request #1342 from rebroad/LastSeenMinusMinus
Should not be T minus, as this indicate duration to future event.
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 4c795554a9..9193e873e7 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -479,7 +479,7 @@ CNode* ConnectNode(CAddress addrConnect, const char *pszDest, int64 nTimeout) /// debug print printf("trying connection %s lastseen=%.1fhrs\n", pszDest ? pszDest : addrConnect.ToString().c_str(), - pszDest ? 0 : (double)(addrConnect.nTime - GetAdjustedTime())/3600.0); + pszDest ? 0 : (double)(GetAdjustedTime() - addrConnect.nTime)/3600.0); // Connect SOCKET hSocket; |