json-rpc: Fix spacing issue in error report

There was a non-breakable space and a missing space in the error message for
missing utxo params.
This commit is contained in:
Christian Decker
2019-10-14 21:44:33 +02:00
committed by neil saitug
parent 4083e077a4
commit 2ab56214ca

View File

@@ -97,9 +97,9 @@ struct command_result *param_utxos(struct command *cmd,
" 'txid:output_index'.");
if (tal_count(*utxos) == 0)
return command_fail(cmd, JSONRPC2_INVALID_PARAMS,
"No matching utxo was found from the wallet."
"No matching utxo was found from the wallet. "
"You can get a list of the wallet utxos with"
" the `listfunds` RPC call.");
" the `listfunds` RPC call.");
return NULL;
}