Skip to content

Commit

Permalink
Update doc for IterateAccounts x/auth keeper meethod (#9285)
Browse files Browse the repository at this point in the history
Co-authored-by: Lazar Ivanovic <livanovic@happiestbaby.com>
  • Loading branch information
prb-pro and lazar-hbi committed May 11, 2021
1 parent f1de92f commit e79157c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/auth/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type AccountKeeperI interface {
// Remove an account from the store.
RemoveAccount(sdk.Context, types.AccountI)

// Iterate over all accounts, calling the provided function. Stop iteraiton when it returns false.
// Iterate over all accounts, calling the provided function. Stop iteration when it returns true.
IterateAccounts(sdk.Context, func(types.AccountI) bool)

// Fetch the public key of an account at a specified address
Expand Down
2 changes: 1 addition & 1 deletion x/auth/spec/04_keepers.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type AccountKeeperI interface {
// Remove an account from the store.
RemoveAccount(sdk.Context, types.AccountI)

// Iterate over all accounts, calling the provided function. Stop iteraiton when it returns false.
// Iterate over all accounts, calling the provided function. Stop iteration when it returns true.
IterateAccounts(sdk.Context, func(types.AccountI) bool)

// Fetch the public key of an account at a specified address
Expand Down

0 comments on commit e79157c

Please sign in to comment.