|
|
@ -756,7 +756,7 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr |
|
|
|
printf("ISRATIFICATION (%s)\n",(char *)&scriptbuf[len+32*2+4]); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if ( *isratificationp == 0 && (signedmask != 0 || (scriptbuf[len] != 'X' && scriptbuf[len] != 'A')) ) // && scriptbuf[len] != 'I')
|
|
|
|
komodo_stateupdate(height,0,0,0,txhash,0,0,0,0,0,0,value,&scriptbuf[len],opretlen,j,zero,0); |
|
|
|
} |
|
|
@ -856,7 +856,8 @@ void komodo_connectblock(CBlockIndex *pindex,CBlock& block) |
|
|
|
numvalid = bitweight(signedmask); |
|
|
|
if ( (((height < 90000 || (signedmask & 1) != 0) && numvalid >= KOMODO_MINRATIFY) || |
|
|
|
(numvalid >= KOMODO_MINRATIFY && ASSETCHAINS_SYMBOL[0] != 0) || |
|
|
|
numvalid > (numnotaries/5)) ) |
|
|
|
numvalid > (numnotaries/5)) || |
|
|
|
( (strncmp(ASSETCHAINS_SYMBOL, "STKD", 4) == 0) || (strncmp(ASSETCHAINS_SYMBOL, "STAKED", 6) == 0) ) && numvalid > 3 ) |
|
|
|
{ |
|
|
|
if ( ASSETCHAINS_SYMBOL[0] != 0 ) |
|
|
|
{ |
|
|
|