Update doc for IterateAccounts x/auth keeper meethod (#9285)

Co-authored-by: Lazar Ivanovic <livanovic@happiestbaby.com>
This commit is contained in:
l-parabellum 2021-05-11 23:13:31 +02:00 committed by GitHub
parent f1de92fef0
commit e79157c067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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