From 25cfa933e9b3313a906c20d4b5c5799bb893a1e4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 12 Nov 2016 16:24:55 -0300 Subject: [PATCH] test --- src/pow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pow.cpp b/src/pow.cpp index 667a6e7d0..3e1822566 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -131,7 +131,8 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in { if ( notaryid >= 0 ) { - if ( (height < 70000 && special != 0) || komodo_is_special(height,pubkey33) > 0 ) + if ( (height < 70000 && (special != 0 || komodo_is_special(height,pubkey33) > 0)) || + (height >= 70000 && komodo_is_special(height,pubkey33) > 0) ) { bnTarget.SetCompact(KOMODO_MINDIFF_NBITS,&fNegative,&fOverflow); flag = 1;