mirror of
https://github.com/LBRYFoundation/lbcwallet.git
synced 2025-09-01 17:55:15 +00:00
parent
49210dcf97
commit
472d6b0c1e
1 changed files with 8 additions and 6 deletions
|
@ -611,12 +611,14 @@ out:
|
||||||
|
|
||||||
// Select statement fell through by an explicit lock or the
|
// Select statement fell through by an explicit lock or the
|
||||||
// timer expiring. Lock the manager here.
|
// timer expiring. Lock the manager here.
|
||||||
timeout = nil
|
if timeout != nil {
|
||||||
err := w.Manager.Lock()
|
timeout = nil
|
||||||
if err != nil {
|
err := w.Manager.Lock()
|
||||||
log.Errorf("Could not lock wallet: %v", err)
|
if err != nil {
|
||||||
} else {
|
log.Errorf("Could not lock wallet: %v", err)
|
||||||
w.notifyLockStateChange(true)
|
} else {
|
||||||
|
w.notifyLockStateChange(true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
w.wg.Done()
|
w.wg.Done()
|
||||||
|
|
Loading…
Add table
Reference in a new issue