From daeecf95513e459147380d332297fcdd85be2163 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 8 Dec 2016 19:03:39 +0200 Subject: [PATCH] test --- src/komodo_gateway.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index a9d7534f3..15c68bebd 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -692,7 +692,12 @@ const char *komodo_opreturn(int32_t height,uint64_t value,uint8_t *opretbuf,int3 } komodo_gateway_deposit(coinaddr,0,(char *)"KMD",value,rmd160,txid,vout,'W',kmdheight,height,source,0); if ( (pax= komodo_paxfind(txid,vout,'W')) != 0 ) - pax->type = opretbuf[0]; + { + pax->type = opretbuf[0]; + strcpy(pax->symbol,base); + pax->height = kmdheight; + pax->otherheight = height; + } } else printf("withdraw %s paxcmp ht.%d %d error value %.8f -> %.8f vs %.8f\n",base,kmdheight,height,dstr(value),dstr(komodoshis),dstr(checktoshis)); } else if ( tokomodo != 0 && opretbuf[0] == 'A' )