Skip to content

chore: make function comment match function name #132

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 shlib/shcrypto/encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (eonSecretKeyShare *EonSecretKeyShare) Marshal() []byte {
return (*big.Int)(eonSecretKeyShare).Bytes()
}

// Unarshal deserializes an eon secret key share.
// Unmarshal deserializes an eon secret key share.
func (eonSecretKeyShare *EonSecretKeyShare) Unmarshal(m []byte) error {
(*big.Int)(eonSecretKeyShare).SetBytes(m)
if (*big.Int)(eonSecretKeyShare).Cmp(order) >= 0 {
Expand Down
2 changes: 1 addition & 1 deletion shuttermint/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ func (app *ShutterApp) EndBlock(req abcitypes.RequestEndBlock) abcitypes.Respons
return abcitypes.ResponseEndBlock{ValidatorUpdates: validatorUpdates}
}

// 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.Printf("Persisting state to disk, height=%d", app.LastBlockHeight)
Expand Down