Make mempool reject banned undo

This commit is contained in:
jl777
2017-03-13 23:55:00 +02:00
parent 6d1d0330fe
commit 541f90199d
2 changed files with 4 additions and 2 deletions

View File

@@ -3205,7 +3205,9 @@ bool CheckBlock(int32_t height,CBlockIndex *pindex,const CBlock& block, CValidat
REJECT_INVALID, "bad-blk-sigops", true);
if ( komodo_check_deposit(height,block) < 0 )
{
fprintf(stderr,"check deposit rejection\n");
static uint32_t counter;
if ( counter++ < 100 )
fprintf(stderr,"check deposit rejection\n");
return(false);
}
return true;