Skip to content

Commit

Permalink
chore: fix some function names (#1358)
Browse files Browse the repository at this point in the history
## Description

fix some function names

Signed-off-by: gopherorg <gopherworld@icloud.com>
  • Loading branch information
gopherorg authored May 13, 2024
1 parent b67d79e commit a281e87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ func (cfg BaseConfig) PrivValidatorKeyFile() string {
return rootify(cfg.PrivValidatorKey, cfg.RootDir)
}

// PrivValidatorFile returns the full path to the priv_validator_state.json file
// PrivValidatorStateFile returns the full path to the priv_validator_state.json file
func (cfg BaseConfig) PrivValidatorStateFile() string {
return rootify(cfg.PrivValidatorState, cfg.RootDir)
}
Expand Down Expand Up @@ -852,7 +852,7 @@ func DefaultStateSyncConfig() *StateSyncConfig {
}
}

// TestFastSyncConfig returns a default configuration for the state sync service
// TestStateSyncConfig returns a default configuration for the state sync service
func TestStateSyncConfig() *StateSyncConfig {
return DefaultStateSyncConfig()
}
Expand Down
2 changes: 1 addition & 1 deletion light/store/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (s *dbs) SaveLightBlock(lb *types.LightBlock) error {
return nil
}

// DeleteLightBlockAndValidatorSet deletes the LightBlock from
// DeleteLightBlock deletes the LightBlock from
// the db.
//
// Safe for concurrent use by multiple goroutines.
Expand Down

0 comments on commit a281e87

Please sign in to comment.