From b68eea0bb225d95976f1f66478eab489ea9664df Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 23 May 2018 12:59:44 -1100 Subject: [PATCH] Test --- iguana/exchanges/LP_transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_transaction.c b/iguana/exchanges/LP_transaction.c index bbfd23c95..9d878a2a1 100644 --- a/iguana/exchanges/LP_transaction.c +++ b/iguana/exchanges/LP_transaction.c @@ -1857,7 +1857,7 @@ char *LP_withdraw(struct iguana_info *coin,cJSON *argjson) completed = 0; memset(&msgtx,0,sizeof(msgtx)); memset(signedtxid.bytes,0,sizeof(signedtxid)); - if ( onevin != 0 ) + if ( jint(argjson,"onevin") != 0 ) V[0].suppress_pubkeys = 1; //printf("created V[0].suppress %d\n",V[0].suppress_pubkeys); if ( (completed= iguana_signrawtransaction(ctx,coin->symbol,coin->wiftaddr,coin->taddr,coin->pubtype,coin->p2shtype,coin->isPoS,coin->longestchain,&msgtx,&signedtx,&signedtxid,V,numvins,rawtx,vins,privkeys,coin->zcash)) < 0 )