mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-01 18:27:43 +02:00
build: update btcd and btcwallet dependencies
This commit is contained in:
@@ -222,9 +222,9 @@ func (b *BtcWalletKeyRing) DeriveKey(keyLoc KeyLocator) (KeyDescriptor, error) {
|
||||
}
|
||||
|
||||
path := waddrmgr.DerivationPath{
|
||||
Account: uint32(keyLoc.Family),
|
||||
Branch: 0,
|
||||
Index: uint32(keyLoc.Index),
|
||||
InternalAccount: uint32(keyLoc.Family),
|
||||
Branch: 0,
|
||||
Index: keyLoc.Index,
|
||||
}
|
||||
addr, err := scope.DeriveFromKeyPath(addrmgrNs, path)
|
||||
if err != nil {
|
||||
@@ -278,9 +278,9 @@ func (b *BtcWalletKeyRing) DerivePrivKey(keyDesc KeyDescriptor) (
|
||||
// Now that we know the account exists, we can safely
|
||||
// derive the full private key from the given path.
|
||||
path := waddrmgr.DerivationPath{
|
||||
Account: uint32(keyDesc.Family),
|
||||
Branch: 0,
|
||||
Index: uint32(keyDesc.Index),
|
||||
InternalAccount: uint32(keyDesc.Family),
|
||||
Branch: 0,
|
||||
Index: keyDesc.Index,
|
||||
}
|
||||
addr, err := scope.DeriveFromKeyPath(addrmgrNs, path)
|
||||
if err != nil {
|
||||
@@ -299,9 +299,9 @@ func (b *BtcWalletKeyRing) DerivePrivKey(keyDesc KeyDescriptor) (
|
||||
// need to scan for the private key, assuming that we know the
|
||||
// valid key family.
|
||||
nextPath := waddrmgr.DerivationPath{
|
||||
Account: uint32(keyDesc.Family),
|
||||
Branch: 0,
|
||||
Index: 0,
|
||||
InternalAccount: uint32(keyDesc.Family),
|
||||
Branch: 0,
|
||||
Index: 0,
|
||||
}
|
||||
|
||||
// We'll now iterate through our key range in an attempt to
|
||||
|
Reference in New Issue
Block a user