diff --git a/accounts/manager.go b/accounts/manager.go index 46f39bfa1..9533b32f4 100644 --- a/accounts/manager.go +++ b/accounts/manager.go @@ -201,7 +201,7 @@ func merge(slice []Wallet, wallets ...Wallet) []Wallet { return slice } -// drop is the couterpart of merge, which looks up wallets from within the sorted +// drop is the counterpart of merge, which looks up wallets from within the sorted // cache and removes the ones specified. func drop(slice []Wallet, wallets ...Wallet) []Wallet { for _, wallet := range wallets { diff --git a/accounts/url_test.go b/accounts/url_test.go index 14da84a70..015546fb1 100644 --- a/accounts/url_test.go +++ b/accounts/url_test.go @@ -54,7 +54,7 @@ func TestURLMarshalJSON(t *testing.T) { url := URL{Scheme: "https", Path: "kaia.com"} json, err := url.MarshalJSON() if err != nil { - t.Errorf("unexpcted error: %v", err) + t.Errorf("unexpected error: %v", err) } if string(json) != "\"https://kaia.com\"" { t.Errorf("expected: %v, got: %v", "\"https://kaia.com\"", string(json)) @@ -65,7 +65,7 @@ func TestURLUnmarshalJSON(t *testing.T) { url := &URL{} err := url.UnmarshalJSON([]byte("\"https://kaia.com\"")) if err != nil { - t.Errorf("unexpcted error: %v", err) + t.Errorf("unexpected error: %v", err) } if url.Scheme != "https" { t.Errorf("expected: %v, got: %v", "https", url.Scheme)