Browse Source

Test

etomic
jl777 7 years ago
parent
commit
56239ad966
  1. 2
      iguana/exchanges/LP_transaction.c
  2. 1
      iguana/exchanges/LP_zeroconf.c

2
iguana/exchanges/LP_transaction.c

@ -1231,7 +1231,7 @@ char *LP_createrawtransaction(cJSON **txobjp,int32_t *numvinsp,struct iguana_inf
ignore_cltverr = 0;
suppress_pubkeys = 1;
scriptlen = bitcoin_pubkeyspend(script,0,G.LP_pubsecp);
scriptlen = bitcoin_standardspend(script,0,G.LP_myrmd160);
numvins = LP_vins_select(ctx,coin,&total,amount,V,utxos,numutxos,suppress_pubkeys,ignore_cltverr,privkey,privkeys,vins,script,scriptlen,utxotxid,utxovout,dustcombine);
if ( numvins <= 0 || total < amount )
{

1
iguana/exchanges/LP_zeroconf.c

@ -202,6 +202,7 @@ void LP_zeroconf_deposits(struct iguana_info *coin)
{
if ( (vouts= jarray(&numvouts,txjson,"vout")) > 0 )
{
// get pubkey from vout.2
v = jitem(vouts,0);
satoshis = LP_value_extract(v,0);
if ( (sobj= jobj(v,"scriptPubKey")) != 0 )

Loading…
Cancel
Save