lnwallet/btcwallet/singer: use chainKeyScope to fetch scoped mgr

This commit is contained in:
Conner Fromknecht committed 2018-03-13 16:33:46 -07:00
1 parent fbef815530
commit ca7992e8dd
1 file changed
+1 -1
+1 -1
View File
@@ -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