add check for num vins over 2 for all AC

This commit is contained in:
blackjok3r
2018-09-24 23:46:08 +08:00
parent 595f3d7a5f
commit 01b6ef666a

View File

@@ -859,7 +859,7 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block)
(numvalid >= KOMODO_MINRATIFY && ASSETCHAINS_SYMBOL[0] != 0) ||
numvalid > (numnotaries/5)) )
{
if ( ASSETCHAINS_SYMBOL[0] != 0 )
if ( ASSETCHAINS_SYMBOL[0] != 0 && numvins >= 2) // check numvins, because on STAKED during ERA GAP, it counts every TX as notarized.
{
static FILE *signedfp;
if ( signedfp == 0 )