From 4897ac61a0b048136f82e9fe752bad965bc0bedc Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 2 Oct 2017 17:14:40 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_commands.c | 1 + iguana/exchanges/LP_utxos.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index bb7d1e49b..b52500832 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -303,6 +303,7 @@ dividends(coin, height, )\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); diff --git a/iguana/exchanges/LP_utxos.c b/iguana/exchanges/LP_utxos.c index a1fe1800c..7a52aaefc 100644 --- a/iguana/exchanges/LP_utxos.c +++ b/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 )