Avoid crash if accountmanager not configured.

This commit is contained in:
Jim McDonald 2020-10-13 17:25:29 +01:00
parent 6845a0ac08
commit cddc1419ca
No known key found for this signature in database
GPG Key ID: 89CEB61B2AD2A5E7
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
Development
- avoid crash if accountmanager not configured
- avoid crash if beacon committee subscription information is not present
- add measurement of validator status fetching operations
- increase maximum block receipt delay metric from 4s to 12s

View File

@ -553,9 +553,10 @@ func startAccountManager(ctx context.Context, monitor metrics.Service, eth2Clien
if err != nil {
return nil, errors.Wrap(err, "failed to start wallet account manager service")
}
return accountManager, nil
}
return accountManager, nil
return nil, errors.New("no account manager defined")
}
func selectBeaconBlockProposalProvider(ctx context.Context,