浏览代码

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

Pau 5 年之前
父节点
当前提交
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.