mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
Corrected err return for GenesisState while calling db.View (#12325)
This commit is contained in:
parent
08d6eccfb3
commit
efdda168c5
@ -97,9 +97,8 @@ func (s *Store) GenesisState(ctx context.Context) (state.BeaconState, error) {
|
||||
return valErr
|
||||
}
|
||||
|
||||
var crtErr error
|
||||
st, err = s.unmarshalState(ctx, enc, valEntries)
|
||||
return crtErr
|
||||
return err
|
||||
})
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Loading…
Reference in New Issue
Block a user