We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1e9b504 + a1f1c40 commit f460b02Copy full SHA for f460b02
cmd/utils/jeth.go
@@ -76,10 +76,9 @@ func (self *Jeth) UnlockAccount(call otto.FunctionCall) (response otto.Value) {
76
if call.Argument(1).IsUndefined() || call.Argument(1).IsNull() {
77
fmt.Printf("Unlock account %s\n", account)
78
if input, err := Stdin.PasswordPrompt("Passphrase: "); err != nil {
79
- return otto.FalseValue()
80
- passwd, _ = otto.ToValue(input)
81
- } else {
82
throwJSExeception(err.Error())
+ } else {
+ passwd, _ = otto.ToValue(input)
83
}
84
} else {
85
if !call.Argument(1).IsString() {
0 commit comments