diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index 535b46cff..4f9860119 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -379,9 +379,12 @@ dividends(coin, height, )\n\ { if ( coinaddr[0] != 0 ) { + LP_listunspent_issue(coin,coinaddr); if ( strcmp(coinaddr,ptr->smartaddr) == 0 && bits256_nonz(G.LP_mypriv25519) != 0 ) + { LP_privkey_init(-1,ptr,G.LP_mypriv25519,G.LP_mypub25519); - LP_listunspent_issue(coin,coinaddr); + LP_smartutxos_push(ptr); + } } return(jprint(LP_address_utxos(ptr,coinaddr,1),1)); } else return(clonestr("{\"error\":\"no address specified\"}"));