diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index a57679f43..32c214791 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -426,14 +426,14 @@ zeroconf_claim(address, expiration=0)\n\ if ( coinaddr[0] != 0 ) { LP_address(ptr,coinaddr); + LP_listunspent_issue(coin,coinaddr,2); if ( strcmp(coinaddr,ptr->smartaddr) == 0 && bits256_nonz(G.LP_privkey) != 0 ) { - LP_listunspent_issue(coin,coinaddr,2); LP_privkey_init(-1,ptr,G.LP_privkey,G.LP_mypub25519); //LP_smartutxos_push(ptr); } if ( ptr->electrum != 0 ) - return(LP_unspents_filestr(coin,ptr->smartaddr)); + return(LP_unspents_filestr(coin,coinaddr)); else return(jprint(LP_address_utxos(ptr,coinaddr,1),1)); } return(jprint(LP_address_utxos(ptr,coinaddr,1),1));