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 3ed8c7a commit 6f50b27Copy full SHA for 6f50b27
loopd/daemon.go
@@ -922,10 +922,15 @@ 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(
- d.mainCtx, initManagerTimeout,
933
+ d.mainCtx, withdrawalManagerTimeout,
934
)
935
select {
936
case <-timeOutCtx.Done():
0 commit comments