From bf35c083b05b900d70da6bd7492c2ba969102ce7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 2 Feb 2017 16:17:33 +0200 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 7bbb07086..b17da9746 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -157,7 +157,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in if ( UintToArith256(hash) > bnTarget ) { { - if ( height > 180000 && KOMODO_REWIND == 0 && chainActive[height] != 0 ) + if ( height > 180000 && KOMODO_REWIND == 0 ) { int32_t i; for (i=31; i>=0; i--) @@ -171,6 +171,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in printf(" <- pubkey\n"); for (i=0; i<66; i++) { + komodo_chosennotary(¬aryid,height-i,pubkey33); printf("%d ",komodo_minerid(height-i,pubkey33)); } printf(" minerids from ht.%d\n",height);