aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/flags.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-10 07:09:39 +0800
committerFelix Lange <fjl@twurst.com>2015-03-10 07:19:01 +0800
commit487f68ec4892794cb994cffd95d5bc2bf3052d3e (patch)
tree85c8fa9c2bef1e671ceeb782c9e706986c064d94 /cmd/utils/flags.go
parent9bf513e99305af733110cf23a0b47c8e73359010 (diff)
downloadgo-tangerine-487f68ec4892794cb994cffd95d5bc2bf3052d3e.tar
go-tangerine-487f68ec4892794cb994cffd95d5bc2bf3052d3e.tar.gz
go-tangerine-487f68ec4892794cb994cffd95d5bc2bf3052d3e.tar.bz2
go-tangerine-487f68ec4892794cb994cffd95d5bc2bf3052d3e.tar.lz
go-tangerine-487f68ec4892794cb994cffd95d5bc2bf3052d3e.tar.xz
go-tangerine-487f68ec4892794cb994cffd95d5bc2bf3052d3e.tar.zst
go-tangerine-487f68ec4892794cb994cffd95d5bc2bf3052d3e.zip
accounts: add {Timed,}Unlock, remove SignLocked
Diffstat (limited to 'cmd/utils/flags.go')
-rw-r--r--cmd/utils/flags.go3
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) {