mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-13 12:33:04 +02:00
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:
parent
a4f9df5f20
commit
30c7ef6531
13 changed files with 370 additions and 166 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue