server: remove duplicate HistoricalSyncTicker param

This commit is contained in:
Olaoluwa Osuntokun 2019-04-11 16:00:51 -07:00
parent 5b3170d542
commit d817b8c9db
No known key found for this signature in database
GPG Key ID: CE58F7F8E20FD9A2

@ -687,9 +687,8 @@ func newServer(listenAddrs []net.Addr, chanDB *channeldb.DB, cc *chainControl,
MessageStore: gossipMessageStore, MessageStore: gossipMessageStore,
AnnSigner: s.nodeSigner, AnnSigner: s.nodeSigner,
RotateTicker: ticker.New(discovery.DefaultSyncerRotationInterval), RotateTicker: ticker.New(discovery.DefaultSyncerRotationInterval),
HistoricalSyncTicker: ticker.New(discovery.DefaultHistoricalSyncInterval),
ActiveSyncerTimeoutTicker: ticker.New(discovery.DefaultActiveSyncerTimeout),
HistoricalSyncTicker: ticker.New(cfg.HistoricalSyncInterval), HistoricalSyncTicker: ticker.New(cfg.HistoricalSyncInterval),
ActiveSyncerTimeoutTicker: ticker.New(discovery.DefaultActiveSyncerTimeout),
NumActiveSyncers: cfg.NumGraphSyncPeers, NumActiveSyncers: cfg.NumGraphSyncPeers,
}, },
s.identityPriv.PubKey(), s.identityPriv.PubKey(),