diff --git a/shlib/shcrypto/encoding.go b/shlib/shcrypto/encoding.go index 42bebf3..709fe03 100644 --- a/shlib/shcrypto/encoding.go +++ b/shlib/shcrypto/encoding.go @@ -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 { diff --git a/shuttermint/app/app.go b/shuttermint/app/app.go index 9b5450d..94c0c6a 100644 --- a/shuttermint/app/app.go +++ b/shuttermint/app/app.go @@ -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)