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