Stochastic broadcasting delay.
[novacoin.git] / src / util.cpp
index 42d38f6..46f9ec6 100644 (file)
@@ -1315,7 +1315,9 @@ void ShrinkDebugFile()
 // System clock
 int64_t GetTime()
 {
-    return time(NULL);
+    int64_t now = time(NULL);
+    assert(now > 0);
+    return now;
 }
 
 // Trusted NTP offset or median of NTP samples.