[#798] morph/subscriber: Remove RPC Init timeout

More convenient way is to fail straight away and
expect external restart.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2021-09-07 13:15:56 +03:00 committed by Alex Vanin
parent 4874b4ae92
commit 1edf40f4d6
3 changed files with 11 additions and 19 deletions

View file

@ -190,7 +190,6 @@ func listenMorphNotifications(c *cfg) {
Log: c.log,
Endpoint: endpoints[i],
DialTimeout: timeout,
RPCInitTimeout: 10 * time.Second,
StartFromBlock: fromSideChainBlock,
})
if err == nil {