From 3818e4576e5a1a718f969438c42646b3f4867bb4 Mon Sep 17 00:00:00 2001 From: carla Date: Tue, 5 Jan 2021 13:36:28 +0200 Subject: [PATCH] loopd: wait for lnd to be unlocked before starting --- loopd/run.go | 1 + 1 file changed, 1 insertion(+) diff --git a/loopd/run.go b/loopd/run.go index 1a33c06..1503632 100644 --- a/loopd/run.go +++ b/loopd/run.go @@ -95,6 +95,7 @@ func newListenerCfg(config *Config, rpcCfg RPCConfig) *listenerCfg { CheckVersion: LoopMinRequiredLndVersion, BlockUntilChainSynced: true, CallerCtx: callerCtx, + BlockUntilUnlocked: true, } // If a custom lnd connection is specified we use that