mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopd: wait for chain notifier
Use https://github.com/lightninglabs/lndclient/pull/255
This commit is contained in:
parent
deced54665
commit
bde49d7a91
1 changed files with 11 additions and 9 deletions
20
loopd/run.go
20
loopd/run.go
|
|
@ -88,15 +88,17 @@ func NewListenerConfig(config *Config, rpcCfg RPCConfig) *ListenerCfg {
|
|||
defer cancel()
|
||||
|
||||
svcCfg := &lndclient.LndServicesConfig{
|
||||
LndAddress: cfg.Host,
|
||||
Network: network,
|
||||
CustomMacaroonPath: cfg.MacaroonPath,
|
||||
TLSPath: cfg.TLSPath,
|
||||
CheckVersion: LoopMinRequiredLndVersion,
|
||||
BlockUntilChainSynced: true,
|
||||
CallerCtx: callerCtx,
|
||||
BlockUntilUnlocked: true,
|
||||
RPCTimeout: cfg.RPCTimeout,
|
||||
LndAddress: cfg.Host,
|
||||
Network: network,
|
||||
CustomMacaroonPath: cfg.MacaroonPath,
|
||||
TLSPath: cfg.TLSPath,
|
||||
CheckVersion: LoopMinRequiredLndVersion,
|
||||
CallerCtx: callerCtx,
|
||||
RPCTimeout: cfg.RPCTimeout,
|
||||
|
||||
BlockUntilChainSynced: true,
|
||||
BlockUntilUnlocked: true,
|
||||
BlockUntilChainNotifier: true,
|
||||
}
|
||||
|
||||
// If a custom lnd connection is specified we use that
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue