From 0901cb0241daed23e284d42dde811c90a67c9e5f Mon Sep 17 00:00:00 2001 From: therealyingtong Date: Tue, 14 Jul 2020 14:46:15 +0800 Subject: [PATCH] Undo manual DEPRECATION_HEIGHT --- src/deprecation.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/deprecation.h b/src/deprecation.h index de1035331..f200d4df3 100644 --- a/src/deprecation.h +++ b/src/deprecation.h @@ -9,9 +9,8 @@ // * Shut down 16 weeks' worth of blocks after the estimated release block height. // * A warning is shown during the 2 weeks' worth of blocks prior to shut down. static const int APPROX_RELEASE_HEIGHT = 901000; -// static const int WEEKS_UNTIL_DEPRECATION = 16; -// static const int DEPRECATION_HEIGHT = APPROX_RELEASE_HEIGHT + (WEEKS_UNTIL_DEPRECATION * 7 * 24 * 48); -static const int DEPRECATION_HEIGHT = 973713; +static const int WEEKS_UNTIL_DEPRECATION = 16; +static const int DEPRECATION_HEIGHT = APPROX_RELEASE_HEIGHT + (WEEKS_UNTIL_DEPRECATION * 7 * 24 * 48); // Number of blocks before deprecation to warn users static const int DEPRECATION_WARN_LIMIT = 14 * 24 * 48; // 2 weeks