Просмотр исходного кода

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

Pau 5 лет назад
Родитель
Сommit
d5c267fd30
1 измененных файлов с 1 добавлено и 1 удалено
  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.