Sfoglia il codice sorgente

accounts/keystore: fix typo in error message (#21200)

Pau 5 anni fa
parent
commit
d5c267fd30
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      accounts/keystore/keystore.go

+ 1 - 1
accounts/keystore/keystore.go

@@ -46,7 +46,7 @@ var (
 
 	// ErrAccountAlreadyExists is returned if an account attempted to import is
 	// already present in the keystore.
-	ErrAccountAlreadyExists = errors.New("account alreaady exists")
+	ErrAccountAlreadyExists = errors.New("account already exists")
 )
 
 // KeyStoreType is the reflect type of a keystore backend.