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:
Olaoluwa Osuntokun committed 2023-08-22 16:30:42 -07:00
1 parent 9a65806c09
commit 95d627af4e
6 files changed
+40 -4

No files matched your search

+1
View File
@@ -476,6 +476,7 @@ func (w *WalletAssembler) ProvisionChannel(r *Request) (Intent, error) {
ShimIntent: ShimIntent{
localFundingAmt: localContributionAmt,
remoteFundingAmt: r.RemoteAmt,
musig2: r.Musig2,
},
InputCoins: selectedCoins,
coinLocker: w.cfg.CoinLocker,