This commit is contained in:
jl777
2017-03-17 03:44:55 +02:00
parent 82ecec24a7
commit c6bd7b1796

View File

@@ -427,8 +427,11 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr
} }
else if ( i == 0 && j == 1 && opretlen == 149 ) else if ( i == 0 && j == 1 && opretlen == 149 )
{ {
if ( notaryid >= 0 && notaryid < 64 ) if ( signedmask != 0 ) //notaryid >= 0 && notaryid < 64 )
{
printf("pricefeed.%llx\n",(long long)signedmask);
komodo_paxpricefeed(height,&scriptbuf[len],opretlen); komodo_paxpricefeed(height,&scriptbuf[len],opretlen);
}
} }
else else
{ {
@@ -446,7 +449,7 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr
printf("ISRATIFICATION (%s)\n",(char *)&scriptbuf[len+32*2+4]); printf("ISRATIFICATION (%s)\n",(char *)&scriptbuf[len+32*2+4]);
} }
} }
if ( *isratificationp == 0 ) 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); komodo_stateupdate(height,0,0,0,txhash,0,0,0,0,0,0,value,&scriptbuf[len],opretlen,j);
} }
} }