|
|
@ -378,6 +378,7 @@ dividends(coin, height, <args>)\n\ |
|
|
|
{ |
|
|
|
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); |
|
|
|
return(jprint(LP_address_utxos(ptr,coinaddr,1),1)); |
|
|
|
} else return(clonestr("{\"error\":\"no address specified\"}")); |
|
|
|
} else return(clonestr("{\"error\":\"cant find coind\"}")); |
|
|
|