We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2cd22d commit 31c9649Copy full SHA for 31c9649
loopd/daemon.go
@@ -922,15 +922,10 @@ func (d *Daemon) initialize(withMacaroonService bool) error {
922
}
923
}()
924
925
- // We need a higher timeout here, because withdrawalManager
926
- // publishes transactions and each PublishTransaction call can
927
- // wait for getting inv messages from a peer (neutrino).
928
- const withdrawalManagerTimeout = time.Minute
929
-
930
// Wait for the static address withdrawal manager to be ready
931
// before starting the grpc server.
932
timeOutCtx, cancel := context.WithTimeout(
933
- d.mainCtx, withdrawalManagerTimeout,
+ d.mainCtx, initManagerTimeout,
934
)
935
select {
936
case <-timeOutCtx.Done():
0 commit comments