From 81ab42f59c5d90c7a6b8b3081882f12817d3f82f Mon Sep 17 00:00:00 2001 From: pengbanban Date: Sun, 4 Aug 2024 19:25:01 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: pengbanban --- app/app.go | 2 +- app/types.go | 4 ++-- nix/build_overlay.nix | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/app.go b/app/app.go index d42337b9a..ee43ee0f4 100644 --- a/app/app.go +++ b/app/app.go @@ -782,7 +782,7 @@ func New( v1 := app.qms.LatestVersion() v2 := app.LastBlockHeight() if v1 > 0 && v1 != v2 { - tmos.Exit(fmt.Sprintf("versiondb lastest version %d don't match iavl latest version %d", v1, v2)) + tmos.Exit(fmt.Sprintf("versiondb latest version %d don't match iavl latest version %d", v1, v2)) } } } diff --git a/app/types.go b/app/types.go index 00cb0b05b..02b13e057 100644 --- a/app/types.go +++ b/app/types.go @@ -16,7 +16,7 @@ type App interface { Name() string // The application types codec. - // NOTE: This shoult be sealed before being returned. + // NOTE: This should be sealed before being returned. LegacyAmino() *codec.LegacyAmino // Application updates every begin block. @@ -36,6 +36,6 @@ type App interface { forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string, ) (servertypes.ExportedApp, error) - // All the registered module account addreses. + // All the registered module account addresses. ModuleAccountAddrs() map[string]bool } diff --git a/nix/build_overlay.nix b/nix/build_overlay.nix index 476654e66..2870eae80 100644 --- a/nix/build_overlay.nix +++ b/nix/build_overlay.nix @@ -1,4 +1,4 @@ -# some basic overlays nessesary for the build +# some basic overlays necessary for the build final: super: { rocksdb = final.callPackage ./rocksdb.nix { }; }