aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/admin.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-04-22 07:41:34 +0800
committerzelig <viktor.tron@gmail.com>2015-04-24 19:45:11 +0800
commit7b2f25b57886133e3dd09f3ea0b0a7f188755965 (patch)
tree80300d920798b00bb11d20d085db0c1f63729efc /cmd/geth/admin.go
parent22450c069b181e362710b71a763549cc6bc3e29b (diff)
downloadgo-tangerine-7b2f25b57886133e3dd09f3ea0b0a7f188755965.tar.gz
go-tangerine-7b2f25b57886133e3dd09f3ea0b0a7f188755965.tar.zst
go-tangerine-7b2f25b57886133e3dd09f3ea0b0a7f188755965.zip
cli: clean up flag descriptions, usage docs, account list uses primary and indexes, add help line to account subcnd usage
Diffstat (limited to 'cmd/geth/admin.go')
-rw-r--r--cmd/geth/admin.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/cmd/geth/admin.go b/cmd/geth/admin.go
index b9a455a0d..646b45bf9 100644
--- a/cmd/geth/admin.go
+++ b/cmd/geth/admin.go
@@ -283,10 +283,6 @@ func (js *jsre) unlock(call otto.FunctionCall) otto.Value {
}
}
am := js.ethereum.AccountManager()
- // err := am.Unlock(common.FromHex(split[0]), split[1])
- // if err != nil {
- // utils.Fatalf("Unlock account failed '%v'", err)
- // }
err = am.TimedUnlock(common.FromHex(addr), passphrase, time.Duration(seconds)*time.Second)
if err != nil {
fmt.Printf("Unlock account failed '%v'\n", err)