mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-07-02 16:18:14 +08:00
redpacket eth indexer poll error
This commit is contained in:
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…
x
Reference in New Issue
Block a user