mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
reload prover registry
This commit is contained in:
parent
9b35520575
commit
3a5365874a
@ -2097,6 +2097,16 @@ func (e *GlobalConsensusEngine) performBlockingProverHypersync(
|
||||
close(done)
|
||||
|
||||
e.logger.Info("blocking hypersync completed")
|
||||
|
||||
if !e.config.Engine.ArchiveMode {
|
||||
if err := e.proverRegistry.Refresh(); err != nil {
|
||||
e.logger.Warn(
|
||||
"failed to refresh prover registry after blocking hypersync",
|
||||
zap.Error(err),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
if len(newRoots) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user