Browse Source

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.
travis-debug
Christian Decker 5 years ago
committed by neil saitug
parent
commit
2ab56214ca
  1. 4
      common/wallet_tx.c

4
common/wallet_tx.c

@ -97,9 +97,9 @@ struct command_result *param_utxos(struct command *cmd,
" 'txid:output_index'."); " 'txid:output_index'.");
if (tal_count(*utxos) == 0) if (tal_count(*utxos) == 0)
return command_fail(cmd, JSONRPC2_INVALID_PARAMS, 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" "You can get a list of the wallet utxos with"
" the `listfunds` RPC call."); " the `listfunds` RPC call.");
return NULL; return NULL;
} }

Loading…
Cancel
Save