diff options
author | Felix Lange <fjl@twurst.com> | 2015-03-10 07:09:39 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-03-10 07:19:01 +0800 |
commit | 487f68ec4892794cb994cffd95d5bc2bf3052d3e (patch) | |
tree | 85c8fa9c2bef1e671ceeb782c9e706986c064d94 /cmd | |
parent | 9bf513e99305af733110cf23a0b47c8e73359010 (diff) | |
download | dexon-487f68ec4892794cb994cffd95d5bc2bf3052d3e.tar dexon-487f68ec4892794cb994cffd95d5bc2bf3052d3e.tar.gz dexon-487f68ec4892794cb994cffd95d5bc2bf3052d3e.tar.bz2 dexon-487f68ec4892794cb994cffd95d5bc2bf3052d3e.tar.lz dexon-487f68ec4892794cb994cffd95d5bc2bf3052d3e.tar.xz dexon-487f68ec4892794cb994cffd95d5bc2bf3052d3e.tar.zst dexon-487f68ec4892794cb994cffd95d5bc2bf3052d3e.zip |
accounts: add {Timed,}Unlock, remove SignLocked
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/utils/flags.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index ee7ea4c79..cde5fa024 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -8,7 +8,6 @@ import ( "os" "path" "runtime" - "time" "github.com/codegangsta/cli" "github.com/ethereum/go-ethereum/accounts" @@ -199,7 +198,7 @@ func GetChain(ctx *cli.Context) (*core.ChainManager, ethutil.Database, ethutil.D func GetAccountManager(ctx *cli.Context) *accounts.Manager { dataDir := ctx.GlobalString(DataDirFlag.Name) ks := crypto.NewKeyStorePassphrase(path.Join(dataDir, "keys")) - return accounts.NewManager(ks, 300*time.Second) + return accounts.NewManager(ks) } func StartRPC(eth *eth.Ethereum, ctx *cli.Context) { |