From a0dcbcec64685d4473156e0d98ba353d37df0db9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 3 Dec 2016 10:08:13 -0300 Subject: [PATCH] test --- src/komodo_gateway.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 7eb90c94b..31887317e 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -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");