mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 18:57:06 +01:00
fix: Typo in the error message for adding an output to DB
Fixes #216 Reported-by: @jl777 Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
parent
6dbd99ddc6
commit
3e42485ddb
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ static void json_addfunds(struct command *cmd,
|
||||||
num_utxos =
|
num_utxos =
|
||||||
wallet_extract_owned_outputs(ld->wallet, tx, &total_satoshi);
|
wallet_extract_owned_outputs(ld->wallet, tx, &total_satoshi);
|
||||||
if (num_utxos < 0) {
|
if (num_utxos < 0) {
|
||||||
command_fail(cmd, "Could add outputs to wallet");
|
command_fail(cmd, "Could not add outputs to wallet");
|
||||||
return;
|
return;
|
||||||
} else if (!num_utxos) {
|
} else if (!num_utxos) {
|
||||||
command_fail(cmd, "No usable outputs");
|
command_fail(cmd, "No usable outputs");
|
||||||
|
|
Loading…
Add table
Reference in a new issue