multi: bump lnd+lndclient compile time dependency

This commit bumps the compile time dependency of lnd and lndclient to
the 0.16.x branch. This makes the code forward compatible but does not
yet change anything with respect to the minimum required version the
user needs to run.
This commit is contained in:
Oliver Gugger 2023-01-30 17:08:23 +01:00
parent a4f9df5f20
commit 30c7ef6531
No known key found for this signature in database
GPG key ID: 8E4256593F177720
13 changed files with 370 additions and 166 deletions

View file

@ -345,10 +345,9 @@ func TaprootKey(expiry uint32, traderKey, auctioneerKey,
}
aggregateKey, err := input.MuSig2CombineKeys(
[]*btcec.PublicKey{
input.MuSig2Version040, []*btcec.PublicKey{
auctioneerKeySchnorr, traderKeySchnorr,
},
&input.MuSig2Tweaks{
}, true, &input.MuSig2Tweaks{
TaprootTweak: rootHash[:],
},
)
@ -582,11 +581,12 @@ func TaprootMuSig2SigningSession(ctx context.Context, expiry uint32, traderKey,
))
}
signers := make([][32]byte, 2)
copy(signers[0][:], schnorr.SerializePubKey(traderKey))
copy(signers[1][:], schnorr.SerializePubKey(auctioneerKey))
signers := [][]byte{make([]byte, 32), make([]byte, 32)}
copy(signers[0], schnorr.SerializePubKey(traderKey))
copy(signers[1], schnorr.SerializePubKey(auctioneerKey))
sessionInfo, err := signer.MuSig2CreateSession(
ctx, localKeyLocator, signers, sessionOpts...,
ctx, input.MuSig2Version040, localKeyLocator, signers,
sessionOpts...,
)
if err != nil {
return nil, nil, fmt.Errorf("error creating MuSig2 session: %v",