Skip to content

Commit 122e6c5

Browse files
committed
terminal: use BlockUntilChainNotifier
1 parent 19e24c1 commit 122e6c5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

terminal.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,12 +945,14 @@ func (g *LightningTerminal) setupFullLNDClient(ctx context.Context,
945945
CustomMacaroonHex: hex.EncodeToString(
946946
macData,
947947
),
948-
BlockUntilChainSynced: true,
949-
BlockUntilUnlocked: true,
950948
CallerCtx: ctx,
951949
CheckVersion: minimalCompatibleVersion,
952950
RPCTimeout: g.cfg.LndRPCTimeout,
953951
ChainSyncPollInterval: g.cfg.LndConnectInterval,
952+
953+
BlockUntilChainSynced: true,
954+
BlockUntilUnlocked: true,
955+
BlockUntilChainNotifier: true,
954956
},
955957
)
956958
if err == nil {

0 commit comments

Comments
 (0)