diff options
author | Bas van Kervel <basvankervel@ziggo.nl> | 2015-05-14 20:25:48 +0800 |
---|---|---|
committer | Bas van Kervel <basvankervel@ziggo.nl> | 2015-05-14 20:25:48 +0800 |
commit | 1fa48bc5e77707d21200c7262f8416f5b3df89c7 (patch) | |
tree | 0b593ab9bd416b21c4bb8428f702a0ee97c36a14 /accounts/account_manager.go | |
parent | bc837619960d46cb4a6f6e8334fd867289e4ecc1 (diff) | |
download | go-tangerine-1fa48bc5e77707d21200c7262f8416f5b3df89c7.tar.gz go-tangerine-1fa48bc5e77707d21200c7262f8416f5b3df89c7.tar.zst go-tangerine-1fa48bc5e77707d21200c7262f8416f5b3df89c7.zip |
Introduced default unlock duration when an account is unlocked from the console
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 } |