mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-29 10:09:08 +02:00
lnwallet/chanfunding: update assemblers to support musig2
In this commit, we update the set of intents and assemblers to recognize musig2. For this change, we use a new bool, `musig2`, then use that to determine if we need to use the new taproot funding scripts or not.
This commit is contained in:
@ -1819,10 +1819,12 @@ func newFundingShimAssembler(chanPointShim *lnrpc.ChanPointShim, initiator bool,
|
||||
|
||||
// With all the parts assembled, we can now make the canned assembler
|
||||
// to pass into the wallet.
|
||||
//
|
||||
// TODO(roasbeef): update to support musig2
|
||||
return chanfunding.NewCannedAssembler(
|
||||
chanPointShim.ThawHeight, *chanPoint,
|
||||
btcutil.Amount(chanPointShim.Amt), &localKeyDesc,
|
||||
remoteKey, initiator,
|
||||
remoteKey, initiator, false,
|
||||
), nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user