Skip to content
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