Fix typo in comment for LoadGenesis (#8685)

This commit is contained in:
Potuz
2021-03-29 21:45:14 -03:00
committed by GitHub
parent 190d862552
commit 0b06c48ed0

View File

@@ -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 {