Merge pull request #1342 from rebroad/LastSeenMinusMinus

Should not be T minus, as this indicate duration to future event.
This commit is contained in:
Gregory Maxwell 2012-05-22 20:33:35 -07:00
commit 7a99821377
1 changed files with 1 additions and 1 deletions

View File

@ -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;