mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-11 01:29:19 +01:00
keychain/btcwallet: convert Locked() -> IsLocked()
This commit is contained in:
parent
fe7705efec
commit
df99882648
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ func (b *BtcWalletKeyRing) keyScope() (*waddrmgr.ScopedKeyManager, error) {
|
|||
|
||||
// Otherwise, we'll first do a check to ensure that the root manager
|
||||
// isn't locked, as otherwise we won't be able to *use* the scope.
|
||||
if b.wallet.Manager.Locked() {
|
||||
if b.wallet.Manager.IsLocked() {
|
||||
return nil, fmt.Errorf("cannot create BtcWalletKeyRing with " +
|
||||
"locked waddrmgr.Manager")
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue