diff options
author | Felix Lange <fjl@twurst.com> | 2016-04-02 04:41:47 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-04-12 21:58:07 +0800 |
commit | 6f1ca0bc910b65b517277f72ca52dadcdc713570 (patch) | |
tree | 11cd425e341f6952a0142fa0abbb9445ea917b7d /accounts/account_manager.go | |
parent | a9f26dcd0d14c0cb9f309ebccf81e8f741fc4636 (diff) | |
download | dexon-6f1ca0bc910b65b517277f72ca52dadcdc713570.tar dexon-6f1ca0bc910b65b517277f72ca52dadcdc713570.tar.gz dexon-6f1ca0bc910b65b517277f72ca52dadcdc713570.tar.bz2 dexon-6f1ca0bc910b65b517277f72ca52dadcdc713570.tar.lz dexon-6f1ca0bc910b65b517277f72ca52dadcdc713570.tar.xz dexon-6f1ca0bc910b65b517277f72ca52dadcdc713570.tar.zst dexon-6f1ca0bc910b65b517277f72ca52dadcdc713570.zip |
accounts: add ErrDecrypt
Diffstat (limited to 'accounts/account_manager.go')
-rw-r--r-- | accounts/account_manager.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accounts/account_manager.go b/accounts/account_manager.go index dc9f40048..2489d29a0 100644 --- a/accounts/account_manager.go +++ b/accounts/account_manager.go @@ -38,6 +38,7 @@ import ( var ( ErrLocked = errors.New("account is locked") ErrNoMatch = errors.New("no key for given address or file") + ErrDecrypt = errors.New("could not decrypt key with given passphrase") ) type Account struct { |