From 9ce523c71f90e2d0c0c0010e06e3fe527d047db3 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 6 Jun 2017 20:14:46 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_utxos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_utxos.c b/iguana/exchanges/LP_utxos.c index 92aba5909..417bfff20 100644 --- a/iguana/exchanges/LP_utxos.c +++ b/iguana/exchanges/LP_utxos.c @@ -397,6 +397,7 @@ uint64_t LP_privkey_init(struct LP_peerinfo *mypeer,int32_t mypubsock,char *symb { char tmpstr[128]; coin->counter++; + bitcoin_priv2wif(tmpstr,privkey,coin->wiftype); if ( counter++ == 0 ) { bitcoin_priv2wif(USERPASS_WIFSTR,privkey,188); @@ -404,7 +405,6 @@ uint64_t LP_privkey_init(struct LP_peerinfo *mypeer,int32_t mypubsock,char *symb userpub = curve25519(userpass,curve25519_basepoint9()); printf("userpass.(%s)\n",bits256_str(USERPASS,userpub)); } - bitcoin_priv2wif(tmpstr,privkey,coin->wiftype); printf("%s (%s) %d wif.(%s) (%s)\n",symbol,coin->smartaddr,coin->pubtype,tmpstr,passphrase); if ( (retjson= LP_importprivkey(coin->symbol,tmpstr,coin->smartaddr,-1)) != 0 ) printf("importprivkey -> (%s)\n",jprint(retjson,1));