diff options
Diffstat (limited to 'cmd/geth/admin.go')
-rw-r--r-- | cmd/geth/admin.go | 4 |
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) |