keychain/btcwallet: convert Locked() -> IsLocked()

This commit is contained in:
Conner Fromknecht 2018-03-08 02:40:58 -05:00
parent fe7705efec
commit df99882648
No known key found for this signature in database
GPG Key ID: 39DE78FBE6ACB0EF

@ -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")
}