diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 4561f7563..585be4e3e 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -450,7 +450,7 @@ void komodo_index2pubkey33(uint8_t *pubkey33,CBlockIndex *pindex,int32_t height) int8_t komodo_minerid(int32_t height) { int32_t notaryid; CBlockIndex *pindex; uint8_t pubkey33[33]; - if ( height <= chainActive.Tip()->nHeight ) + if ( height <= CURRENT_HEIGHT )//chainActive.Tip()->nHeight ) { if ( (pindex= chainActive[height]) != 0 ) { diff --git a/src/rpcblockchain.cpp b/src/rpcblockchain.cpp index e671c7308..7373d51c9 100644 --- a/src/rpcblockchain.cpp +++ b/src/rpcblockchain.cpp @@ -396,7 +396,7 @@ Value notaries(const Array& params, bool fHelp) int32_t height = atoi(params[0].get_str().c_str()); if ( height < 0 ) height = 0; - fprintf(stderr,"notaries as of height.%d\n",height); + //fprintf(stderr,"notaries as of height.%d\n",height); if ( height > chainActive.Height()+20000 ) throw JSONRPCError(RPC_INVALID_PARAMETER, "Block height out of range"); else