diff --git a/iguana/exchanges/LP_utxos.c b/iguana/exchanges/LP_utxos.c index c20486f02..8a0c17397 100644 --- a/iguana/exchanges/LP_utxos.c +++ b/iguana/exchanges/LP_utxos.c @@ -923,6 +923,7 @@ char *LP_secretaddresses(void *ctx,char *passphrase,int32_t n,uint8_t taddr,uint sprintf(buf,"secretaddress %s %03d",passphrase,i); conv_NXTpassword(privkey.bytes,pubkey.bytes,(uint8_t *)buf,(int32_t)strlen(buf)); bitcoin_priv2pub(ctx,pubkey33,coinaddr,privkey,taddr,pubtype); + bitcoin_priv2wif(0,wifstr,privkey,188); bitcoin_wif2priv(0,&tmptype,&checkprivkey,wifstr); if ( bits256_cmp(checkprivkey,privkey) != 0 ) {