Commit 75a28874 authored by szh's avatar szh

去换行

parent 99e5f960
......@@ -479,8 +479,9 @@ func Unlock() error{
tlog.Info("Read passwd failed")
return err
}
pass := strings.Replace(string(passwd),"\n","",-1)
reply,err :=setting.PaiClient.Unlock(&types.WalletUnLock{
Passwd: string(passwd),
Passwd: string(pass),
Timeout: 0,
WalletOrTicket: false,
XXX_NoUnkeyedLiteral: struct{}{},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment