From ca7992e8dde1407dae020b09635eb8dd502353b9 Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Mon, 12 Mar 2018 19:20:07 -0700 Subject: [PATCH] lnwallet/btcwallet/singer: use chainKeyScope to fetch scoped mgr --- lnwallet/btcwallet/signer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnwallet/btcwallet/signer.go b/lnwallet/btcwallet/signer.go index b3c92d2a..a85f2472 100644 --- a/lnwallet/btcwallet/signer.go +++ b/lnwallet/btcwallet/signer.go @@ -83,7 +83,7 @@ func (b *BtcWallet) fetchPrivKey(keyDesc *keychain.KeyDescriptor) (*btcec.Privat if !keyDesc.KeyLocator.IsEmpty() { // We'll assume the special lightning key scope in this case. scopedMgr, err := b.wallet.Manager.FetchScopedKeyManager( - lightningKeyScope, + b.chainKeyScope, ) if err != nil { return nil, err