From 26d9f4c3479b0e7789e7ed34c9896b068ed7bb4d Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 16 Apr 2018 21:11:35 +0300 Subject: [PATCH] Test --- src/komodo_bitcoind.h | 2 +- src/pow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 46a6349e3..114213dbd 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -874,7 +874,7 @@ int32_t komodo_is_special(uint8_t pubkeys[66][33],int32_t mids[66],uint32_t bloc if ( blocktime != 0 && blocktimes[1] != 0 && blocktime < blocktimes[1]+57 ) { fprintf(stderr,"lag.%d ht.%d n.%d blocktimes[%u vs %u %u]\n",blocktime-blocktimes[1],height,notaryid,blocktime,blocktimes[0],blocktimes[1]); - if ( height > 780000 ) + if ( height > 807000 ) return(-2); } else return(1); } else return(0); diff --git a/src/pow.cpp b/src/pow.cpp index 01b4b6851..83f9cb18d 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -155,7 +155,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash,unsigned int } if ( nonz == 0 ) { - fprintf(stderr,"ht.%d null pubkey checkproof return\n",height); + //fprintf(stderr,"ht.%d null pubkey checkproof return\n",height); return(true); // will come back via different path with pubkey set } flag = komodo_eligiblenotary(pubkeys,mids,blocktimes,&nonzpkeys,height);