test
This commit is contained in:
@@ -407,7 +407,9 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr
|
|||||||
}
|
}
|
||||||
if ( opretlen > len && scriptbuf[len] == 'A' )
|
if ( opretlen > len && scriptbuf[len] == 'A' )
|
||||||
{
|
{
|
||||||
printf("Found extradata.[%d] %d - %d\n",opretlen-len,opretlen,len);
|
for (i=0; i<opretlen-len; i++)
|
||||||
|
printf("%02x",scriptbuf[len+i]);
|
||||||
|
printf(" Found extradata.[%d] %d - %d\n",opretlen-len,opretlen,len);
|
||||||
komodo_stateupdate(height,0,0,0,txhash,0,0,0,0,0,0,value,&scriptbuf[len],opretlen-len,j);
|
komodo_stateupdate(height,0,0,0,txhash,0,0,0,0,0,0,value,&scriptbuf[len],opretlen-len,j);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -365,7 +365,7 @@ uint64_t komodo_paxtotal()
|
|||||||
{
|
{
|
||||||
seed = 0;
|
seed = 0;
|
||||||
checktoshis = komodo_paxprice(&seed,pax->height,pax->source,(char *)"KMD",(uint64_t)pax->fiatoshis);
|
checktoshis = komodo_paxprice(&seed,pax->height,pax->source,(char *)"KMD",(uint64_t)pax->fiatoshis);
|
||||||
printf("paxtotal PAX_fiatdest ht.%d price %s %.8f -> KMD %.8f vs %.8f\n",pax->height,pax->symbol,(double)pax->fiatoshis/COIN,(double)pax->komodoshis/COIN,(double)checktoshis/COIN);
|
//printf("paxtotal PAX_fiatdest ht.%d price %s %.8f -> KMD %.8f vs %.8f\n",pax->height,pax->symbol,(double)pax->fiatoshis/COIN,(double)pax->komodoshis/COIN,(double)checktoshis/COIN);
|
||||||
//printf(" v%d %.8f k.%d ht.%d\n",pax->vout,dstr(pax->komodoshis),pax->height,pax->otherheight);
|
//printf(" v%d %.8f k.%d ht.%d\n",pax->vout,dstr(pax->komodoshis),pax->height,pax->otherheight);
|
||||||
if ( seed != 0 && checktoshis != 0 )
|
if ( seed != 0 && checktoshis != 0 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user