test
This commit is contained in:
@@ -596,8 +596,8 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3
|
||||
komodo_gateway_deposit(coinaddr,komodoshis,(char *)"KMD",value,rmd160,txid,vout,'W',kmdheight,height,source,0);
|
||||
if ( (pax= komodo_paxfind(txid,vout,'W')) != 0 )
|
||||
{
|
||||
//if ( didstats != 0 )
|
||||
// pax->didstats = 1;
|
||||
if ( didstats != 0 )
|
||||
pax->didstats = 1;
|
||||
pax->type = opretbuf[0];
|
||||
}
|
||||
}
|
||||
@@ -649,8 +649,8 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3
|
||||
{
|
||||
pax->type = opretbuf[0];
|
||||
pax->approved = kmdheights[i];
|
||||
//if ( didstats != 0 )
|
||||
// pax->didstats = 1;
|
||||
if ( didstats != 0 )
|
||||
pax->didstats = 1;
|
||||
printf(" i.%d approved.%d <<<<<<<<<<<<< APPROVED %p\n",i,kmdheights[i],pax);
|
||||
}
|
||||
}
|
||||
@@ -705,7 +705,7 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3
|
||||
if ( baseids[i] >= 0 && srcvalues[i] != 0 && (basesp= komodo_stateptrget(CURRENCIES[baseids[i]])) != 0 )
|
||||
{
|
||||
basesp->redeemed += srcvalues[i];
|
||||
//pax->didstats = 1;
|
||||
pax->didstats = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user