Skip to content

Commit 541252f

Browse files
authored
chore: fix grammatical issues in code comments (#1972)
* Update nullify.go * Update export.go * Update keys.go
1 parent 7b13504 commit 541252f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/export.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func (app *App) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs
5959
//
6060
//nolint:gocyclo
6161
func (app *App) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs []string) {
62-
// check if there is a allowed address list
62+
// check if there is an allowed address list
6363
applyAllowedAddrs := len(jailAllowedAddrs) > 0
6464

6565
allowedAddrsMap := make(map[string]bool)

app/keys.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func (a *AppKeepers) GenerateKeys() {
6161
a.memKeys = storetypes.NewMemoryStoreKeys(capabilitytypes.MemStoreKey)
6262
}
6363

64-
// GetSubspace gets existing substore from keeper.
64+
// GetSubspace gets the existing substore from keeper.
6565
func (a *AppKeepers) GetSubspace(moduleName string) paramstypes.Subspace {
6666
subspace, _ := a.ParamsKeeper.GetSubspace(moduleName)
6767
return subspace

testutil/nullify/nullify.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ var (
1313
coinsType = reflect.TypeOf(sdk.Coins{})
1414
)
1515

16-
// Fill analyze all struct fields and slices with
16+
// Fill analyzes all struct fields and slices with
1717
// reflection and initialize the nil and empty slices,
1818
// structs, and pointers.
1919
func Fill(x interface{}) interface{} {

0 commit comments

Comments
 (0)