From 67e63515c608658aa356d1cd8ad7bef54a63494f Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 2 Feb 2017 16:22:37 +0200 Subject: [PATCH] test --- src/pow.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/pow.cpp b/src/pow.cpp index bdee41c80..fea53be21 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -180,6 +180,15 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in } } } + if ( flag != 0 ) + { + for (i=0; i<66; i++) + { + komodo_chosennotary(¬aryid,height-i,pubkey33); + fprintf(stderr,"%d ",komodo_minerid(height-i,pubkey33)); + } + fprintf(stderr," minerids from ht.%d\n",height); + } return true; }