mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 07:58:22 -05:00
Fix Slasher Backup DB panic on call. (#8099)
This commit is contained in:
@@ -89,16 +89,16 @@ func NewSlasherNode(cliCtx *cli.Context) (*SlasherNode, error) {
|
||||
stop: make(chan struct{}),
|
||||
}
|
||||
|
||||
if err := slasher.startDB(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if !cliCtx.Bool(cmd.DisableMonitoringFlag.Name) {
|
||||
if err := slasher.registerPrometheusService(cliCtx); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
if err := slasher.startDB(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if err := slasher.registerBeaconClientService(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user