Uncomment some dpow debugging
This commit is contained in:
@@ -635,7 +635,7 @@ int32_t hush_voutupdate(bool fJustCheck,int32_t *isratificationp,int32_t notaryi
|
|||||||
ccdata.MoMdata.notarized_height = *notarizedheightp;
|
ccdata.MoMdata.notarized_height = *notarizedheightp;
|
||||||
ccdata.MoMdata.height = height;
|
ccdata.MoMdata.height = height;
|
||||||
ccdata.MoMdata.txi = i;
|
ccdata.MoMdata.txi = i;
|
||||||
//printf("nameoffset.%d len.%d + 36 %d opoffset.%d vs opretlen.%d\n",nameoffset,len,len+36,opoffset,opretlen);
|
printf("nameoffset.%d len.%d + 36 %d opoffset.%d vs opretlen.%d\n",nameoffset,len,len+36,opoffset,opretlen);
|
||||||
if ( len+36-opoffset <= opretlen )
|
if ( len+36-opoffset <= opretlen )
|
||||||
{
|
{
|
||||||
len += dragon_rwbignum(0,&scriptbuf[len],32,(uint8_t *)&MoM);
|
len += dragon_rwbignum(0,&scriptbuf[len],32,(uint8_t *)&MoM);
|
||||||
@@ -645,8 +645,8 @@ int32_t hush_voutupdate(bool fJustCheck,int32_t *isratificationp,int32_t notaryi
|
|||||||
if ( len+sizeof(ccdata.CCid)-opoffset <= opretlen )
|
if ( len+sizeof(ccdata.CCid)-opoffset <= opretlen )
|
||||||
{
|
{
|
||||||
len += dragon_rwnum(0,&scriptbuf[len],sizeof(ccdata.CCid),(uint8_t *)&ccdata.CCid);
|
len += dragon_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",SMART_CHAIN_SYMBOL,((MoMdepth>>16) & 0xffff),(ccdata.CCid & 0xffff));
|
fprintf(stderr,"%s CCid mismatch %u != %u\n",SMART_CHAIN_SYMBOL,((MoMdepth>>16) & 0xffff),(ccdata.CCid & 0xffff));
|
||||||
ccdata.len = sizeof(ccdata.CCid);
|
ccdata.len = sizeof(ccdata.CCid);
|
||||||
if ( SMART_CHAIN_SYMBOL[0] != 0 )
|
if ( SMART_CHAIN_SYMBOL[0] != 0 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user