Browse Source

Test

etomic
jl777 7 years ago
parent
commit
cafd5fac40
  1. 2
      iguana/exchanges/LP_commands.c

2
iguana/exchanges/LP_commands.c

@ -265,6 +265,8 @@ dividends(coin, height, <args>)\n\
//* //*
if ( (ptr= LP_coinsearch(coin)) != 0 ) if ( (ptr= LP_coinsearch(coin)) != 0 )
{ {
if ( ptr->userpass[0] == 0 )
return(clonestr("{\"error\":\"no rpc credentials to enable\"}"));
if ( LP_conflicts_find(ptr) == 0 ) if ( LP_conflicts_find(ptr) == 0 )
ptr->inactive = 0; ptr->inactive = 0;
else return(clonestr("{\"error\":\"coin port conflicts with existing coin\"}")); else return(clonestr("{\"error\":\"coin port conflicts with existing coin\"}"));

Loading…
Cancel
Save