From 8e055a45067c25c5ce894bd40e7cfee1201a70d0 Mon Sep 17 00:00:00 2001 From: darosior Date: Wed, 4 Mar 2020 14:44:09 +0100 Subject: [PATCH] bcli: remove a superfluous variable --- plugins/bcli.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/plugins/bcli.c b/plugins/bcli.c index e0133eee5..440b1ef70 100644 --- a/plugins/bcli.c +++ b/plugins/bcli.c @@ -689,15 +689,13 @@ static struct command_result *getutxout(struct command *cmd, static void bitcoind_failure(struct plugin *p, const char *error_message) { const char **cmd = gather_args(bitcoind, "echo", NULL); - const char *err = - tal_fmt(bitcoind, "\n%s\n\n" - "Make sure you have bitcoind running and that bitcoin-cli" - " is able to connect to bitcoind.\n\n" - "You can verify that your Bitcoin Core installation is" - " ready for use by running:\n\n" - " $ %s 'hello world'\n", error_message, - args_string(cmd, cmd)); - plugin_err(p, err); + plugin_err(p, "\n%s\n\n" + "Make sure you have bitcoind running and that bitcoin-cli" + " is able to connect to bitcoind.\n\n" + "You can verify that your Bitcoin Core installation is" + " ready for use by running:\n\n" + " $ %s 'hello world'\n", error_message, + args_string(cmd, cmd)); } static void wait_for_bitcoind(struct plugin *p)