This commit is contained in:
blackjok3r
2018-12-04 11:19:44 +08:00
parent 7d6a5ab453
commit 52b1898322

View File

@@ -331,7 +331,7 @@ CBlockTemplate* CreateNewBlock(const CScript& _scriptPubKeyIn, int32_t gpucount,
}
dPriority += (double)nValueIn * nConf;
}
if ( numNotaryVins >= NUM_NOTARIES / 5 )
if ( NUM_NOTARIES != 0 && numNotaryVins >= NUM_NOTARIES / 5 )
fNotarisation = true;
nTotalIn += tx.GetShieldedValueIn();
}