From 01c8942581215b6ae9ae70e089203ee5a76d6e91 Mon Sep 17 00:00:00 2001 From: Sebastian Falbesoner Date: Sun, 3 May 2020 00:47:19 +0200 Subject: [PATCH] lightningd/bitcoind: remove unused BITCOIN_INIT_TIMEOUT The define is a leftover from the init fixed timeout hack that was removed recently (commit 678591d851). --- lightningd/bitcoind.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lightningd/bitcoind.c b/lightningd/bitcoind.c index 27263dc89..89a9e22d9 100644 --- a/lightningd/bitcoind.c +++ b/lightningd/bitcoind.c @@ -30,11 +30,6 @@ #include #include -/* How many seconds will we wait for our Bitcoin plugin to respond to `init` ? - * Note that bcli waits for bitcoind to be warmed up before responding, so it - * shouldn't be too low. */ -#define BITCOIN_INIT_TIMEOUT 30 - /* The names of the requests we can make to our Bitcoin backend. */ static const char *methods[] = {"getchaininfo", "getrawblockbyheight", "sendrawtransaction", "getutxout",