From 62b70c88c7b296237c0ac0c5554f3f6bd00241e7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 21 Oct 2016 09:57:03 -0300 Subject: [PATCH] test --- src/miner.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/miner.cpp b/src/miner.cpp index cf8fb03bb..809034bbe 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -438,6 +438,9 @@ static bool ProcessBlockFound(CBlock* pblock, CWallet& wallet, CReserveKey& rese return true; } +extern uint8_t NOTARY_PUBKEY33[33]; +int32_t komodo_chosennotary(int32_t *notaryidp,int32_t height,uint8_t *pubkey33); + void static BitcoinMiner(CWallet *pwallet) { LogPrintf("ZcashMiner started\n"); @@ -504,7 +507,7 @@ void static BitcoinMiner(CWallet *pwallet) // Search // int64_t nStart = GetTime(); - if ( komodo_chosennotary(¬aryid,pblock->nHeight,KOMODO_PUBKEY33) > 0 ) + if ( komodo_chosennotary(¬aryid,pblock->nHeight,NOTARY_PUBKEY33) > 0 ) fprintf(stderr,"I am the chosen one for ht.%d\n",pblock->nHeight); arith_uint256 hashTarget = arith_uint256().SetCompact(pblock->nBits);