jl777 7 years ago
parent
commit
4897ac61a0
  1. 1
      iguana/exchanges/LP_commands.c
  2. 2
      iguana/exchanges/LP_utxos.c

1
iguana/exchanges/LP_commands.c

@ -303,6 +303,7 @@ dividends(coin, height, <args>)\n\
//LP_utxopurge(0);
if ( bits256_nonz(G.LP_mypriv25519) != 0 )
LP_privkey_init(-1,ptr,G.LP_mypriv25519,G.LP_mypub25519);
else printf("no LP_mypriv25519\n");
retjson = cJSON_CreateObject();
jaddstr(retjson,"result","success");
jaddstr(retjson,"coin",coin);

2
iguana/exchanges/LP_utxos.c

@ -500,7 +500,7 @@ int32_t LP_privkey_init(int32_t mypubsock,struct iguana_info *coin,bits256 mypri
printf("coin not active\n");
return(0);
}
//printf("privkey init.(%s) %s\n",coin->symbol,coin->smartaddr);
printf("privkey init.(%s) %s\n",coin->symbol,coin->smartaddr);
if ( coin->inactive == 0 )
LP_listunspent_issue(coin->symbol,coin->smartaddr);
if ( coin->inactive == 0 && (array= LP_listunspent(coin->symbol,coin->smartaddr)) != 0 )

Loading…
Cancel
Save