This commit is contained in:
jl777
2016-12-03 10:08:13 -03:00
parent 605957ea6f
commit a0dcbcec64

View File

@@ -720,6 +720,14 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3
pax->type = opretbuf[0];
strcpy(pax->source,(char *)&opretbuf[opretlen-4]);
}
if ( (pax= komodo_paxfind(txids[i],vouts[i],'D')) != 0 )
{
// realtime path
values[i] = pax->fiatoshis;
srcvalues[i] = pax->komodoshis;
kmdheights[i] = pax->height;
otherheights[i] = pax->otherheight;
}
printf("ISSUE.%p kht.%d ht.%d %.8f %.8f\n",pax,kmdheights[i],otherheights[i],dstr(values[i]),dstr(srcvalues[i]));
}
} else printf("opreturn none issued?\n");