test
This commit is contained in:
@@ -118,9 +118,9 @@ int32_t komodo_rwapproval(int32_t rwflag,uint8_t *opretbuf,struct pax_transactio
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
for (i=0; i<32; i++)
|
for (i=0; i<32; i++)
|
||||||
((uint8_t *)&pax->txid)[31-i] = opretbuf[len++];
|
((uint8_t *)&pax->txid)[i] = opretbuf[len++];
|
||||||
for (i=0; i<32; i++)
|
for (i=0; i<32; i++)
|
||||||
printf("%02x",((uint8_t *)&pax->txid)[i]);
|
printf("%02x",((uint8_t *)&pax->txid)[31-i]);
|
||||||
pax->vout = opretbuf[len++];
|
pax->vout = opretbuf[len++];
|
||||||
pax->vout += ((uint32_t)opretbuf[len++] << 8);
|
pax->vout += ((uint32_t)opretbuf[len++] << 8);
|
||||||
printf(" txid v.%d\n",pax->vout);
|
printf(" txid v.%d\n",pax->vout);
|
||||||
|
|||||||
Reference in New Issue
Block a user