Fix typo in calculation of NUM_ONLINE_SECS constant (#1436)

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
Rockwell Schrock 2022-05-05 14:46:39 -04:00 committed by GitHub
parent 2b769279ae
commit 5e109d9648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -439,7 +439,7 @@ uint32_t sinceLastSeen(const NodeInfo *n)
return delta;
}
#define NUM_ONLINE_SECS (60 & 60 * 2) // 2 hrs to consider someone offline
#define NUM_ONLINE_SECS (60 * 60 * 2) // 2 hrs to consider someone offline
size_t NodeDB::getNumOnlineNodes()
{