From e46ae59f5eb3350c160afd68871ecbfd6facd084 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Thu, 10 Dec 2020 06:58:03 -0500 Subject: [PATCH] init changes --- src/init.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/init.cpp b/src/init.cpp index d2f2a8393..8c30d11c1 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -92,7 +92,7 @@ extern void ThreadSendAlert(); extern bool komodo_dailysnapshot(int32_t height); extern int32_t HUSH_LOADINGBLOCKS; extern char SMART_CHAIN_SYMBOL[]; -extern int32_t KOMODO_SNAPSHOT_INTERVAL; +extern int32_t HUSH_SNAPSHOT_INTERVAL; extern void komodo_init(int32_t height); #ifdef ENABLE_WALLET @@ -1800,7 +1800,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) break; } - if ( ASSETCHAINS_CC != 0 && KOMODO_SNAPSHOT_INTERVAL != 0 && chainActive.Height() >= KOMODO_SNAPSHOT_INTERVAL ) + if ( ASSETCHAINS_CC != 0 && HUSH_SNAPSHOT_INTERVAL != 0 && chainActive.Height() >= HUSH_SNAPSHOT_INTERVAL ) { if ( !komodo_dailysnapshot(chainActive.Height()) ) {