aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/url.go
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/url.go')
-rw-r--r--accounts/url.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/accounts/url.go b/accounts/url.go
index 21df668ef..a5add1021 100644
--- a/accounts/url.go
+++ b/accounts/url.go
@@ -76,12 +76,12 @@ func (u URL) MarshalJSON() ([]byte, error) {
// UnmarshalJSON parses url.
func (u *URL) UnmarshalJSON(input []byte) error {
- var textUrl string
- err := json.Unmarshal(input, &textUrl)
+ var textURL string
+ err := json.Unmarshal(input, &textURL)
if err != nil {
return err
}
- url, err := parseURL(textUrl)
+ url, err := parseURL(textURL)
if err != nil {
return err
}