Commit 1bc1534a authored by heyubin's avatar heyubin Committed by vipwzw

add by hyb for issues109

parent 7029765a
...@@ -213,7 +213,7 @@ func (client *Client) flushTicket() error { ...@@ -213,7 +213,7 @@ func (client *Client) flushTicket() error {
//list accounts //list accounts
tickets, privs, err := client.getTickets() tickets, privs, err := client.getTickets()
if err == types.ErrMinerNotStared || err == types.ErrWalletIsLocked { if err == types.ErrMinerNotStared || err == types.ErrWalletIsLocked {
tlog.Error("flushTicket error", "err", "wallet miner not start or wallet ss locked") tlog.Error("flushTicket error", "err", "wallet miner not start or wallet is locked")
client.setTicket(nil, nil) client.setTicket(nil, nil)
return nil return nil
} }
......
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