Skip to content

Commit

Permalink
Fix typo in comment for LoadGenesis (#8685)
Browse files Browse the repository at this point in the history
  • Loading branch information
potuz authored Mar 30, 2021
1 parent 190d862 commit 0b06c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon-chain/db/kv/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0b06c48

Please sign in to comment.