mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
Fix Slasher Backup DB panic on call. (#8099)
This commit is contained in:
parent
3e9d721280
commit
630d57377a
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user