From 958ee90a65bfe28172ca9e0518e1b8b0c22df273 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 16 Apr 2018 20:49:11 +0300 Subject: [PATCH] Test --- src/pow.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/pow.cpp b/src/pow.cpp index d35d5a53c..2e92931ae 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -190,7 +190,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash,unsigned int { if ( KOMODO_LOADINGBLOCKS != 0 ) return true; -/* if ( ASSETCHAINS_SYMBOL[0] == 0 ) + if ( ASSETCHAINS_SYMBOL[0] != 0 || height > 792000 ) { if ( 1 && height > 792000 ) { @@ -208,13 +208,10 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash,unsigned int printf(" <- origpubkey\n"); for (i=0; i<66; i++) printf("%d ",mids[i]); - printf(" minerids from ht.%d pindex.%p\n",height,pindex); + printf(" minerids from ht.%d\n",height); } - if ( height > 792000 ) - return false; - } else return false;*/ - if ( ASSETCHAINS_SYMBOL[0] != 0 || height > 792000 ) return false; + } } fprintf(stderr,"height.%d notaryid.%d PoW valid\n",height,notaryid); return true;