jl777 7 years ago
parent
commit
abab098a25
  1. 8
      iguana/exchanges/LP_commands.c

8
iguana/exchanges/LP_commands.c

@ -371,9 +371,11 @@ dividends(coin, height, <args>)\n\
return(LP_utxos(1,LP_mypeer,jstr(argjson,"coin"),jint(argjson,"lastn"))); return(LP_utxos(1,LP_mypeer,jstr(argjson,"coin"),jint(argjson,"lastn")));
else if ( strcmp(method,"utxo") == 0 ) else if ( strcmp(method,"utxo") == 0 )
{ {
if ( LP_utxoaddjson(1,LP_mypubsock,argjson) != 0 ) printf("deprecated utxo received\n");
retstr = clonestr("{\"result\":\"success\",\"utxo\":\"received\"}"); //if ( LP_utxoaddjson(1,LP_mypubsock,argjson) != 0 )
else retstr = clonestr("{\"result\":\"couldnt add utxo\"}"); // retstr = clonestr("{\"result\":\"success\",\"utxo\":\"received\"}");
//else
retstr = clonestr("{\"result\":\"couldnt add utxo\"}");
} }
else else
{ {

Loading…
Cancel
Save