Skip invalid Ccid compare
This commit is contained in:
@@ -645,8 +645,8 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr
|
|||||||
if ( len+sizeof(ccdata.CCid)-opoffset <= opretlen )
|
if ( len+sizeof(ccdata.CCid)-opoffset <= opretlen )
|
||||||
{
|
{
|
||||||
len += iguana_rwnum(0,&scriptbuf[len],sizeof(ccdata.CCid),(uint8_t *)&ccdata.CCid);
|
len += iguana_rwnum(0,&scriptbuf[len],sizeof(ccdata.CCid),(uint8_t *)&ccdata.CCid);
|
||||||
if ( ((MoMdepth>>16) & 0xffff) != (ccdata.CCid & 0xffff) )
|
//if ( ((MoMdepth>>16) & 0xffff) != (ccdata.CCid & 0xffff) )
|
||||||
fprintf(stderr,"%s CCid mismatch %u != %u\n",ASSETCHAINS_SYMBOL,((MoMdepth>>16) & 0xffff),(ccdata.CCid & 0xffff));
|
// fprintf(stderr,"%s CCid mismatch %u != %u\n",ASSETCHAINS_SYMBOL,((MoMdepth>>16) & 0xffff),(ccdata.CCid & 0xffff));
|
||||||
ccdata.len = sizeof(ccdata.CCid);
|
ccdata.len = sizeof(ccdata.CCid);
|
||||||
if ( ASSETCHAINS_SYMBOL[0] != 0 )
|
if ( ASSETCHAINS_SYMBOL[0] != 0 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user