bcli: remove a superfluous variable

This commit is contained in:
darosior
2020-03-04 14:44:09 +01:00
committed by neil saitug
parent 1fd45a061b
commit 8e055a4506

View File

@@ -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"
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));
plugin_err(p, err);
}
static void wait_for_bitcoind(struct plugin *p)