feat: use comet async clients (#20757)

This commit is contained in:
Marko
2024-06-24 18:56:09 +00:00
committed by GitHub
parent fe2a40ee4d
commit 7678585b13
+1 -1
View File
@@ -137,7 +137,7 @@ func (s *CometBFTServer[T]) Start(ctx context.Context) error {
cometConfig,
pvm.LoadOrGenFilePV(cometConfig.PrivValidatorKeyFile(), cometConfig.PrivValidatorStateFile()),
nodeKey,
proxy.NewLocalClientCreator(s.App),
proxy.NewConsensusSyncLocalClientCreator(s.App),
getGenDocProvider(cometConfig),
cmtcfg.DefaultDBProvider,
node.DefaultMetricsProvider(cometConfig.Instrumentation),