From 0af58fe284480c639b839d68fc24f328e365ebf9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 8 Oct 2016 18:35:41 -0300 Subject: [PATCH] test --- iguana/iguana_notary.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index 2f34a0818..b867f2d22 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -144,7 +144,7 @@ char *dpow_signrawtransaction(struct supernet_info *myinfo,struct iguana_info *c jaddi(array,vins); paramstr = jprint(array,1); retstr = bitcoind_passthru(coin->symbol,coin->chain->serverport,coin->chain->userpass,"signrawtransaction",paramstr); - printf("%s signrawtransaction.(%s) params.(%s)\n",coin->symbol,retstr,paramstr); + //printf("%s signrawtransaction.(%s) params.(%s)\n",coin->symbol,retstr,paramstr); free(paramstr); return(retstr); } @@ -300,7 +300,7 @@ int32_t dpow_message_utxo(bits256 *hashmsgp,bits256 *txidp,int32_t *voutp,cJSON memset(txidp,0,sizeof(*txidp)); if ( (msgobj= jarray(&n,json,"messages")) != 0 ) { - printf("messages.(%s)\n",jprint(msgobj,0)); + //printf("messages.(%s)\n",jprint(msgobj,0)); for (i=0; isymbol,jprint(txobj,0)); + //printf("%s createtx.(%s)\n",coin->symbol,jprint(txobj,0)); return(txobj); } @@ -446,6 +446,7 @@ int32_t dpow_signedtxgen(struct supernet_info *myinfo,struct dpow_info *dp,struc memset(&msgtx,0,sizeof(msgtx)); if ( (txobj2= bitcoin_hex2json(coin,height,&txid,&msgtx,rawtx,extraspace,sizeof(extraspace),serialized,vins,1)) != 0 ) { + printf("txobj2.(%s)\n",jprint(txobj2,0)); if ( (vin= jarray(&m,txobj2,"vin")) != 0 && myind < m ) { item = jitem(vin,myind);