From 3e42485ddbd99fdd36a7c312dc8217de844dccd6 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 18 Aug 2017 14:38:50 +0200 Subject: [PATCH] fix: Typo in the error message for adding an output to DB Fixes #216 Reported-by: @jl777 Signed-off-by: Christian Decker --- wallet/walletrpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/walletrpc.c b/wallet/walletrpc.c index 8f2c67c23..4b0d9dbd9 100644 --- a/wallet/walletrpc.c +++ b/wallet/walletrpc.c @@ -303,7 +303,7 @@ static void json_addfunds(struct command *cmd, num_utxos = wallet_extract_owned_outputs(ld->wallet, tx, &total_satoshi); if (num_utxos < 0) { - command_fail(cmd, "Could add outputs to wallet"); + command_fail(cmd, "Could not add outputs to wallet"); return; } else if (!num_utxos) { command_fail(cmd, "No usable outputs");