diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-05-14 20:48:31 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-05-14 20:48:31 +0800 |
commit | ff87c241a715833fa09cbed5e4acf0f1dfa9b745 (patch) | |
tree | 4b89f9f82fac8e2a76272bcecb9fb308ab06b19e /accounts/account_manager.go | |
parent | 7fa740996cf01b56a734e579fcfcd9c2e8585ac5 (diff) | |
parent | 1fa48bc5e77707d21200c7262f8416f5b3df89c7 (diff) | |
download | go-tangerine-ff87c241a715833fa09cbed5e4acf0f1dfa9b745.tar go-tangerine-ff87c241a715833fa09cbed5e4acf0f1dfa9b745.tar.gz go-tangerine-ff87c241a715833fa09cbed5e4acf0f1dfa9b745.tar.bz2 go-tangerine-ff87c241a715833fa09cbed5e4acf0f1dfa9b745.tar.lz go-tangerine-ff87c241a715833fa09cbed5e4acf0f1dfa9b745.tar.xz go-tangerine-ff87c241a715833fa09cbed5e4acf0f1dfa9b745.tar.zst go-tangerine-ff87c241a715833fa09cbed5e4acf0f1dfa9b745.zip |
Merge pull request #973 from bas-vk/issue972
Introduced default unlock duration when an account is unlocked from t…
Diffstat (limited to 'accounts/account_manager.go')
-rw-r--r-- | accounts/account_manager.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/accounts/account_manager.go b/accounts/account_manager.go index 6cbd23c4e..13f16296a 100644 --- a/accounts/account_manager.go +++ b/accounts/account_manager.go @@ -49,6 +49,11 @@ var ( ErrNoKeys = errors.New("no keys in store") ) +const ( + // Default unlock duration (in seconds) when an account is unlocked from the console + DefaultAccountUnlockDuration = 300 +) + type Account struct { Address common.Address } |