Skip to content

Commit 55da3c1

Browse files
committed
Revert "loopd: increase withdrawal manager start timeout"
This reverts commit 6f50b27.
1 parent 4ca7920 commit 55da3c1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

loopd/daemon.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -922,15 +922,10 @@ func (d *Daemon) initialize(withMacaroonService bool) error {
922922
}
923923
}()
924924

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-
930925
// Wait for the static address withdrawal manager to be ready
931926
// before starting the grpc server.
932927
timeOutCtx, cancel := context.WithTimeout(
933-
d.mainCtx, withdrawalManagerTimeout,
928+
d.mainCtx, initManagerTimeout,
934929
)
935930
select {
936931
case <-timeOutCtx.Done():

0 commit comments

Comments
 (0)