Skip to content

chore: fix some function names in comment #3387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func TestModifyAccountsConfig(t *testing.T) {
}))
}

// TestMigrationSaved tests that migrations are applied when a config is loaded, and that the
// TestMigrationsAtLoad tests that migrations are applied when a config is loaded, and that the
// migrations are persisted.
func TestMigrationsAtLoad(t *testing.T) {
appConfigFilename := test.TstTempFile("appConfig")
Expand Down
8 changes: 4 additions & 4 deletions backend/handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ func (handlers *Handlers) postAppConfig(r *http.Request) (interface{}, error) {
return nil, handlers.backend.Config().SetAppConfig(appConfig)
}

// getNativeLocaleHandler returns user preferred UI language as reported
// getNativeLocale returns user preferred UI language as reported
// by the native app layer.
// The response value may be invalid or unsupported by the app.
func (handlers *Handlers) getNativeLocale(*http.Request) interface{} {
Expand Down Expand Up @@ -693,7 +693,7 @@ func (handlers *Handlers) postBtcFormatUnit(r *http.Request) interface{} {
return response{Success: true}
}

// getAccountsBalanceHandler returns the balance of all the accounts, grouped by keystore and coin.
// getAccountsBalance returns the balance of all the accounts, grouped by keystore and coin.
func (handlers *Handlers) getAccountsBalance(*http.Request) interface{} {
type response struct {
Success bool `json:"success"`
Expand Down Expand Up @@ -826,7 +826,7 @@ func (handlers *Handlers) getCoinsTotalBalance(_ *http.Request) interface{} {
}
}

// getAccountsTotalBalanceHandler returns the total balance of all the accounts, gruped by keystore.
// getAccountsTotalBalance returns the total balance of all the accounts, gruped by keystore.
func (handlers *Handlers) getAccountsTotalBalance(*http.Request) (interface{}, error) {
type response struct {
Success bool `json:"success"`
Expand Down Expand Up @@ -1223,7 +1223,7 @@ func (handlers *Handlers) getAccountSummary(*http.Request) interface{} {
return Result{Success: true, Data: data}
}

// getSupportedCoinsHandler returns an array of coin codes for which you can add an account.
// getSupportedCoins returns an array of coin codes for which you can add an account.
// Exactly one keystore must be connected, otherwise an empty array is returned.
func (handlers *Handlers) getSupportedCoins(*http.Request) interface{} {
type element struct {
Expand Down