This commit is contained in:
jl777
2016-12-07 15:59:02 +02:00
parent 72e51f5130
commit a6a335124e

View File

@@ -638,7 +638,7 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3
{ {
pax->type = opretbuf[0]; pax->type = opretbuf[0];
strcpy(pax->source,(char *)&opretbuf[opretlen-4]); strcpy(pax->source,(char *)&opretbuf[opretlen-4]);
if ( (pax2= komodo_paxfind(txids[i],vouts[i],'D')) != 0 ) if ( (pax2= komodo_paxfind(txids[i],vouts[i],'D')) != 0 && pax2->fiatoshis != 0 && pax2->komodoshis != 0 )
{ {
// realtime path? // realtime path?
pax->fiatoshis = pax2->fiatoshis; pax->fiatoshis = pax2->fiatoshis;