test
This commit is contained in:
@@ -932,12 +932,15 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3
|
||||
if ( (pax= komodo_paxfind(txids[i],vouts[i],'X')) != 0 )
|
||||
{
|
||||
pax->type = opretbuf[0];
|
||||
if ( baseids[i] >= 0 && srcvalues[i] != 0 && (basesp= komodo_stateptrget(CURRENCIES[baseids[i]])) != 0 )
|
||||
if ( height < 121842 )
|
||||
value = srcvalues[i];
|
||||
else value = values[i];
|
||||
if ( baseids[i] >= 0 && value != 0 && (basesp= komodo_stateptrget(CURRENCIES[baseids[i]])) != 0 )
|
||||
{
|
||||
basesp->redeemed += srcvalues[i];
|
||||
basesp->redeemed += value;
|
||||
pax->didstats = 1;
|
||||
//if ( strcmp(CURRENCIES[baseids[i]],ASSETCHAINS_SYMBOL) == 0 )
|
||||
printf("ht.%d %.8f ########### %p redeemed %s += %.8f kht.%d ht.%d\n",height,dstr(value),basesp,CURRENCIES[baseids[i]],dstr(srcvalues[i]),kmdheights[i],otherheights[i]);
|
||||
printf("ht.%d %.8f ########### %p redeemed %s += %.8f kht.%d ht.%d\n",height,dstr(value),basesp,CURRENCIES[baseids[i]],dstr(value),kmdheights[i],otherheights[i]);
|
||||
}
|
||||
}
|
||||
if ( (pax= komodo_paxmark(height,txids[i],vouts[i],'W',height)) != 0 )
|
||||
|
||||
Reference in New Issue
Block a user