redpacket eth indexer poll error

pull/3727/head
hawklin2017 3 months ago
parent 8079cb3eb3
commit 1a3d7020ad

@ -139,7 +139,7 @@ func Start(ctx context.Context, conf *Config, registry discovery.SvcDiscoveryReg
if conf.RpcConfig.Indexer.PollInterval > 0 {
if chainClient != nil {
ethIndexer := chain.NewIndexer(chainClient, repo, conf.RpcConfig.Indexer.PollInterval, 0)
ethIndexer := chain.NewIndexer(chainClient, repo, conf.RpcConfig.Indexer.PollInterval, 0, conf.RpcConfig.Indexer.MaxBlocksPerPoll)
ethIndexer.Start(ctx)
}
if tronClient != nil {

Loading…
Cancel
Save