From 1fa48bc5e77707d21200c7262f8416f5b3df89c7 Mon Sep 17 00:00:00 2001 From: Bas van Kervel Date: Thu, 14 May 2015 14:25:48 +0200 Subject: Introduced default unlock duration when an account is unlocked from the console --- accounts/account_manager.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'accounts/account_manager.go') 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 } -- cgit