From ca619b923cf3d2e88767c76a21c2a52010353cb4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 13 Apr 2018 22:43:46 +0300 Subject: [PATCH] Test --- src/pow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pow.cpp b/src/pow.cpp index aa08d5396..9c1cb9810 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -116,7 +116,6 @@ bool CheckEquihashSolution(const CBlockHeader *pblock, const CChainParams& param return true; } -void komodo_pindex_init(CBlockIndex *pindex,int32_t height); int32_t komodo_chosennotary(int32_t *notaryidp,int32_t height,uint8_t *pubkey33,uint32_t timestamp); int32_t komodo_is_special(uint8_t pubkeys[66][33],int32_t mids[66],int32_t height,uint8_t pubkey33[33],uint32_t timestamp); int32_t komodo_currentheight(); @@ -216,7 +215,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in if ( KOMODO_LOADINGBLOCKS == 0 ) { for (i=0; i<66; i++) - fprintf(stderr,"%d ",mids[i]); + fprintf(stderr,"%d ",i==0?notaryid:mids[i]); fprintf(stderr,"mids ht.%d\n",height); } return true;