fastsync: update the metrics during fast-sync (#6590)

Closes #3507
This commit is contained in:
JayT106
2021-06-23 04:00:24 -04:00
committed by GitHub
parent 6e238b5b9d
commit 2b0a3c151b
12 changed files with 58 additions and 14 deletions

View File

@@ -290,7 +290,7 @@ func makeNode(config *cfg.Config,
// doing a state sync first.
bcReactorShim, bcReactor, err := createBlockchainReactor(
logger, config, state, blockExec, blockStore, csReactor,
peerManager, router, fastSync && !stateSync,
peerManager, router, fastSync && !stateSync, csMetrics,
)
if err != nil {
return nil, fmt.Errorf("could not create blockchain reactor: %w", err)