Skip to content

chore: make function comment match function name #580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rolling-shutter/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@ func numRequiredTransitionValidators(config *BatchConfig) uint64 {
return defenders
}

// persistToDisk stores the ShutterApp on disk. This method first writes to a temporary file and
// PersistToDisk stores the ShutterApp on disk. This method first writes to a temporary file and
// renames the file later. Most probably this will not work on windows!
func (app *ShutterApp) PersistToDisk() error {
log.Info().Int64("height", app.LastBlockHeight).Msg("persisting state to disk")
Expand Down
2 changes: 1 addition & 1 deletion rolling-shutter/keyperimpl/gnosis/keyper.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func NewKeyper(kpr *Keyper, messagingMiddleware *MessagingMiddleware) (*keyper.K
return core, err
}

// initSequencerSycer initializes the sequencer syncer if the keyper is known to be a member of a
// initSequencerSyncer initializes the sequencer syncer if the keyper is known to be a member of a
// keyper set. Otherwise, the syncer will only be initialized once such a keyper set is observed to
// be added, as only then we will know which eon(s) we are responsible for.
func (kpr *Keyper) initSequencerSyncer(ctx context.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion rolling-shutter/keyperimpl/shutterservice/keyper.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func NewKeyper(kpr *Keyper, messagingMiddleware *MessagingMiddleware) (*keyper.K
)
}

// initRegistrySycer initializes the registry syncer if the keyper is known to be a member of a
// initRegistrySyncer initializes the registry syncer if the keyper is known to be a member of a
// keyper set. Otherwise, the syncer will only be initialized once such a keyper set is observed to
// be added, as only then we will know which eon(s) we are responsible for.
func (kpr *Keyper) initRegistrySyncer(ctx context.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion rolling-shutter/p2p/p2p_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func init() {

var ErrTestComplete = errors.New("test complete")

// TestStartNetworkNode test that we can init two p2p nodes and make them send/receive messages.
// TestStartNetworkNodeIntegration test that we can init two p2p nodes and make them send/receive messages.
func TestStartNetworkNodeIntegration(t *testing.T) { //nolint:funlen
if testing.Short() {
t.Skip("skipping integration test")
Expand Down