parent
6cf22b7944
commit
6e6cb307fa
1 changed files with 7 additions and 0 deletions
|
@ -498,6 +498,11 @@ out:
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
timeout = req.lockAfter
|
timeout = req.lockAfter
|
||||||
|
if timeout == nil {
|
||||||
|
log.Info("Wallet unlocked without timeout")
|
||||||
|
} else {
|
||||||
|
log.Info("Wallet temporarily unlocked")
|
||||||
|
}
|
||||||
req.err <- nil
|
req.err <- nil
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
@ -544,6 +549,8 @@ out:
|
||||||
err := w.Manager.Lock()
|
err := w.Manager.Lock()
|
||||||
if err != nil && !waddrmgr.IsError(err, waddrmgr.ErrLocked) {
|
if err != nil && !waddrmgr.IsError(err, waddrmgr.ErrLocked) {
|
||||||
log.Errorf("Could not lock wallet: %v", err)
|
log.Errorf("Could not lock wallet: %v", err)
|
||||||
|
} else {
|
||||||
|
log.Info("Wallet locked")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
w.wg.Done()
|
w.wg.Done()
|
||||||
|
|
Loading…
Reference in a new issue