lnwallet: add awareness of taproot overlay chan type to reservations

This commit is contained in:
Olaoluwa Osuntokun
2024-06-25 15:31:32 -07:00
parent f21c1165a0
commit 0ee9b02094
2 changed files with 29 additions and 6 deletions

View File

@@ -983,7 +983,7 @@ func (l *LightningWallet) handleFundingReserveRequest(req *InitFundingReserveMsg
TaprootPubkey, true, DefaultAccountName,
)
},
Musig2: req.CommitType == CommitmentTypeSimpleTaproot,
Musig2: req.CommitType.IsTaproot(),
}
fundingIntent, err = req.ChanFunder.ProvisionChannel(
fundingReq,