From df9988264835d503a3fa3395962a8e7d4b2d21d9 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Thu, 8 Mar 2018 02:40:58 -0500 Subject: [PATCH] keychain/btcwallet: convert Locked() -> IsLocked() --- keychain/btcwallet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keychain/btcwallet.go b/keychain/btcwallet.go index 749f09ec6..2d9f2d8b5 100644 --- a/keychain/btcwallet.go +++ b/keychain/btcwallet.go @@ -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") }