From a875f690220c253e30f46dcd7855426e6ae69655 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 31 Jul 2019 08:49:29 -1100 Subject: [PATCH] Fix zawys zcash issue 4021 --- src/timedata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timedata.cpp b/src/timedata.cpp index daeb7bae0..9a7a6f6fa 100644 --- a/src/timedata.cpp +++ b/src/timedata.cpp @@ -94,7 +94,7 @@ void AddTimeData(const CNetAddr& ip, int64_t nOffsetSample) int64_t nMedian = vTimeOffsets.median(); std::vector vSorted = vTimeOffsets.sorted(); // Only let other nodes change our time by so much - if (abs64(nMedian) < 70 * 60) + if (abs64(nMedian) < 30) // thanks to zawy for pointing this out!! zcash issues 4021 //70 * 60) { nTimeOffset = nMedian; }