mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
lnwallet/btcwallet/singer: use chainKeyScope to fetch scoped mgr
This commit is contained in:
parent
fbef815530
commit
ca7992e8dd
@ -83,7 +83,7 @@ func (b *BtcWallet) fetchPrivKey(keyDesc *keychain.KeyDescriptor) (*btcec.Privat
|
|||||||
if !keyDesc.KeyLocator.IsEmpty() {
|
if !keyDesc.KeyLocator.IsEmpty() {
|
||||||
// We'll assume the special lightning key scope in this case.
|
// We'll assume the special lightning key scope in this case.
|
||||||
scopedMgr, err := b.wallet.Manager.FetchScopedKeyManager(
|
scopedMgr, err := b.wallet.Manager.FetchScopedKeyManager(
|
||||||
lightningKeyScope,
|
b.chainKeyScope,
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
Reference in New Issue
Block a user