From d20b0140d22105bb2d24e91fc506386c36f48442 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 22 Nov 2018 02:54:54 -1100 Subject: [PATCH] Check for negative --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 18adb5acb..e4c64e0ef 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3919,7 +3919,7 @@ bool static ConnectTip(CValidationState &state, CBlockIndex *pindexNew, CBlock * fprintf(stderr,"connect.%d insync.%d ASSETCHAINS_SAPLING.%d\n",(int32_t)pindexNew->GetHeight(),KOMODO_INSYNC,ASSETCHAINS_SAPLING); if ( ASSETCHAINS_SYMBOL[0] == 0 && KOMODO_INSYNC != 0 ) komodo_broadcast(pblock,8); - if ( ASSETCHAINS_SAPLING == 0 ) + if ( ASSETCHAINS_SAPLING <= 0 ) komodo_activate_sapling(pindexNew); return true; }