Browse Source

Test

etomic
jl777 8 years ago
parent
commit
074dffaa72
  1. 2
      iguana/exchanges/LP_coins.c
  2. 1
      iguana/exchanges/LP_utxos.c

2
iguana/exchanges/LP_coins.c

@ -266,7 +266,7 @@ struct iguana_info *LP_coinfind(char *symbol)
}
// "coins":[{"coin":"<assetchain>", "rpcport":pppp}, {"coin":"LTC", "name":"litecoin", "rpcport":9332, "pubtype":48, "p2shtype":5, "wiftype":176, "txfee":100000 }]
// {"coin":"HUSH", "name":"hushcoin", "rpcport":8822, "taddr":28, "pubtype":184, "p2shtype":189, "wiftype":128, "txfee":10000 }
// {"coin":"HUSH", "name":"hush", "rpcport":8822, "taddr":28, "pubtype":184, "p2shtype":189, "wiftype":128, "txfee":10000 }
struct iguana_info *LP_coincreate(cJSON *item)
{

1
iguana/exchanges/LP_utxos.c

@ -745,6 +745,7 @@ bits256 LP_privkeycalc(void *ctx,uint8_t *pubkey33,bits256 *pubkeyp,struct iguan
{
coin->counter++;
bitcoin_priv2wif(tmpstr,privkey,coin->wiftype);
LP_importprivkey(coin->symbol,tmpstr,"",0);
bitcoin_addr2rmd160(coin->taddr,&tmptype,rmd160,coin->smartaddr);
LP_privkeyadd(privkey,rmd160);
if ( coin->pubtype != 60 || strcmp(coin->symbol,"KMD") == 0 )

Loading…
Cancel
Save