This commit is contained in:
jl777
2017-02-02 22:48:05 +02:00
parent b6b8a2d510
commit 9ffd6e8649

View File

@@ -625,7 +625,7 @@ void static BitcoinMiner(CWallet *pwallet)
komodo_eligiblenotary(pubkeys,mids,&nonzpkeys,pindexPrev->nHeight); komodo_eligiblenotary(pubkeys,mids,&nonzpkeys,pindexPrev->nHeight);
if ( nonzpkeys > 0 ) if ( nonzpkeys > 0 )
{ {
if ( notaryid < 1 ) if ( NOTARY_PUBKEY33[0] != 0 )
{ {
for (i=1; i<66; i++) for (i=1; i<66; i++)
if ( memcmp(pubkeys[i],pubkeys[0],33) == 0 ) if ( memcmp(pubkeys[i],pubkeys[0],33) == 0 )
@@ -719,7 +719,7 @@ void static BitcoinMiner(CWallet *pwallet)
ehSolverRuns.increment(); ehSolverRuns.increment();
throw boost::thread_interrupted(); throw boost::thread_interrupted();
} }
if ( ASSETCHAINS_SYMBOL[0] == 0 && notaryid >= 0 ) if ( ASSETCHAINS_SYMBOL[0] == 0 && NOTARY_PUBKEY33[0] != 0 )
sleep(1800); sleep(1800);
return true; return true;
}; };