From b8ae0496895129390626070ad2a0293505734dc6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 30 Jul 2019 07:09:36 -1100 Subject: [PATCH] -print --- src/komodo_bitcoind.h | 2 +- src/miner.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index bc0692cac..84a84935b 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -1437,7 +1437,7 @@ arith_uint256 komodo_adaptivepow_target(int32_t height,arith_uint256 bnTarget,ui bnTarget = easy; fprintf(stderr,"tipdiff.%d diff.%d height.%d miner overflowed mult.%lld, set to mindiff\n",tipdiff,diff,height,(long long)mult); } else fprintf(stderr,"tipdiff.%d diff.%d height.%d miner elapsed %d, adjust by factor of %lld\n",tipdiff,diff,height,diff,(long long)mult); - } else fprintf(stderr,"height.%d tipdiff.%d diff %d, vs %d\n",height,tipdiff,diff,13*ASSETCHAINS_BLOCKTIME); + } //else fprintf(stderr,"height.%d tipdiff.%d diff %d, vs %d\n",height,tipdiff,diff,13*ASSETCHAINS_BLOCKTIME); } else fprintf(stderr,"adaptive cant find height.%d\n",height); return(bnTarget); } diff --git a/src/miner.cpp b/src/miner.cpp index 7c31b1ee7..90020fc43 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -2042,7 +2042,6 @@ void static BitcoinMiner() pblock->nBits = savebits; if ( ASSETCHAINS_ADAPTIVEPOW > 0 ) { - fprintf(stderr,"update time in miner\n"); UpdateTime(pblock, chainparams.GetConsensus(), pindexPrev); hashTarget = komodo_adaptivepow_target(Mining_height,HASHTarget,pblock->nTime); }