]> Git Repo - VerusCoin.git/commitdiff
test
authorjl777 <[email protected]>
Wed, 23 Nov 2016 17:46:36 +0000 (14:46 -0300)
committerjl777 <[email protected]>
Wed, 23 Nov 2016 17:46:36 +0000 (14:46 -0300)
src/komodo_gateway.h

index 9150518f4196a8b9180089370844c990488c867f..a4d31dbf06b2104a04c1b5cbc77b909de4307581 100644 (file)
@@ -162,6 +162,8 @@ int32_t komodo_issued_opreturn(char *base,uint256 *txids,uint16_t *vouts,int64_t
                 len += komodo_rwapproval(0,&opretbuf[len],&p);
                 if ( values != 0 && kmdheights != 0 && otherheights != 0 && baseids != 0 && rmd160s != 0 )
                 {
+                    txids[n] = p.txid;
+                    vouts[n] = p.vout;
                     values[n] = (ASSETCHAINS_SYMBOL[0] == 0) ? p.komodoshis : p.fiatoshis;
                     kmdheights[n] = p.height;
                     otherheights[n] = p.otherheight;
@@ -170,7 +172,7 @@ int32_t komodo_issued_opreturn(char *base,uint256 *txids,uint16_t *vouts,int64_t
                     {
                         char coinaddr[64];
                         bitcoin_address(coinaddr,60,&rmd160s[n * 20],20);
-                        printf(">>>>>>> approved A: (%s) fiat %.8f kmdheight.%d other.%d -> %s %.8f\n",baseids[n]>=0?CURRENCIES[baseids[n]]:"???",dstr(p.komodoshis),kmdheights[n],otherheights[n],coinaddr,dstr(values[n]));
+                        printf(">>>>>>> approved A: (%s) fiat %.8f kmdheight.%d other.%d -> %s %.8f\n",baseids[n]>=0?CURRENCIES[baseids[n]]:"???",dstr(p.fiatoshis),kmdheights[n],otherheights[n],coinaddr,dstr(values[n]));
                     }
                 }
             }
This page took 0.031563 seconds and 4 git commands to generate.