aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/jeth.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-10-23 00:27:05 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-10-23 00:27:05 +0800
commitdce503779b2866d1d35b4582470604c0d7e156db (patch)
tree7d8817ec84be38b911f967f1ecd5618d02e4caa9 /rpc/jeth.go
parent58d0752fdd1c7363fb1a127cd7e0a86d7602be02 (diff)
parent8b81ad1fc40080af441c0c6df94f0b2ea46e320b (diff)
downloaddexon-dce503779b2866d1d35b4582470604c0d7e156db.tar
dexon-dce503779b2866d1d35b4582470604c0d7e156db.tar.gz
dexon-dce503779b2866d1d35b4582470604c0d7e156db.tar.bz2
dexon-dce503779b2866d1d35b4582470604c0d7e156db.tar.lz
dexon-dce503779b2866d1d35b4582470604c0d7e156db.tar.xz
dexon-dce503779b2866d1d35b4582470604c0d7e156db.tar.zst
dexon-dce503779b2866d1d35b4582470604c0d7e156db.zip
Merge pull request #1840 from ethersphere/console
console, cli, api fixes
Diffstat (limited to 'rpc/jeth.go')
-rw-r--r--rpc/jeth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/jeth.go b/rpc/jeth.go
index ae2603ae4..1260a3404 100644
--- a/rpc/jeth.go
+++ b/rpc/jeth.go
@@ -158,11 +158,11 @@ func (self *Jeth) askPassword(id interface{}, jsonrpc string, args []interface{}
if len(args) >= 1 {
if account, ok := args[0].(string); ok {
fmt.Printf("Unlock account %s\n", account)
- passwd, err = utils.PromptPassword("Passphrase: ", true)
} else {
return false
}
}
+ passwd, err = utils.PromptPassword("Passphrase: ", true)
if err = self.client.Send(shared.NewRpcResponse(id, jsonrpc, passwd, err)); err != nil {
glog.V(logger.Info).Infof("Unable to send user agent ask password response - %v\n", err)