limit some prints to -ac_notarypay
This commit is contained in:
@@ -695,7 +695,7 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr
|
|||||||
}
|
}
|
||||||
else if ( ASSETCHAINS_SYMBOL[0] == 0 && matched != 0 && notarized != 0 && validated != 0 )
|
else if ( ASSETCHAINS_SYMBOL[0] == 0 && matched != 0 && notarized != 0 && validated != 0 )
|
||||||
komodo_rwccdata((char *)"KMD",1,&ccdata,0);
|
komodo_rwccdata((char *)"KMD",1,&ccdata,0);
|
||||||
else
|
else if ( ASSETCHAINS_NOTARY_PAY != 0 )
|
||||||
{
|
{
|
||||||
fprintf(stderr, "NOT matched NOTARISATION\n");
|
fprintf(stderr, "NOT matched NOTARISATION\n");
|
||||||
return (-2);
|
return (-2);
|
||||||
|
|||||||
@@ -3696,9 +3696,11 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
|
|||||||
|
|
||||||
//FlushStateToDisk();
|
//FlushStateToDisk();
|
||||||
int tmp = komodo_connectblock(pindex,*(CBlock *)&block); // != block-nVersion-7000000;
|
int tmp = komodo_connectblock(pindex,*(CBlock *)&block); // != block-nVersion-7000000;
|
||||||
if ( tmp > 0 )
|
if ( ASSETCHAINS_NOTARY_PAY != 0 && tmp > 0 )
|
||||||
{
|
{
|
||||||
printf("VALID NOTARISATION connect block.%i tx.%i\n NOT VALIDATING HERE YET!",pindex->GetHeight(),tmp);
|
printf("VALID NOTARISATION connect block.%i tx.%i\n NOT VALIDATING HERE YET!\n",pindex->GetHeight(),tmp);
|
||||||
|
if ( tmp != 1 )
|
||||||
|
printf("INVALID NOTARISATION notarisation tx is not in vtx[1].\n";
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user