Commit 568bfd36 authored by szh's avatar szh

去除自动解锁 功能

parent d52ccd59
......@@ -154,12 +154,12 @@ func BityuanJob(ticker *time.Ticker) {
tlog.Error("GetWalletStatus", "err", err)
//return
} else if status != nil && status.IsHasSeed {
if status.IsTicketLock && status.IsWalletLock {
err := Unlock()
if err != nil {
tlog.Error("unlock wallet", "err", err)
}
}
// if status.IsTicketLock && status.IsWalletLock {
// err := Unlock()
// if err != nil {
// tlog.Error("unlock wallet", "err", err)
// }
// }
//if !status.IsAutoMining {
// err := AutoOpenTicket()
// if err != 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