mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-10 07:58:22 -05:00
Fix typo in comment for LoadGenesis (#8685)
This commit is contained in:
@@ -50,7 +50,7 @@ func (s *Store) SaveGenesisData(ctx context.Context, genesisState iface.BeaconSt
|
||||
return nil
|
||||
}
|
||||
|
||||
// LoadGenesisFromFile loads a genesis state from a given file path, if no genesis exists already.
|
||||
// LoadGenesis loads a genesis state from a given file path, if no genesis exists already.
|
||||
func (s *Store) LoadGenesis(ctx context.Context, r io.Reader) error {
|
||||
b, err := ioutil.ReadAll(r)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user