multi: bump all dependency to use lnd 0.15.0-beta.rc4

This commit bumps all dependencies to be in line with what's required
for the current release candidate of lnd 0.15.0-beta.
This commit is contained in:
Oliver Gugger 2022-06-02 18:26:17 +02:00
parent 14dfdc8521
commit d5952f1202
No known key found for this signature in database
GPG key ID: 8E4256593F177720
9 changed files with 103 additions and 38 deletions

View file

@ -309,9 +309,10 @@ func (h *Htlc) AddSuccessToEstimator(estimator *input.TxWeightEstimator) error {
}
successLeaf := txscript.NewBaseTapLeaf(trHtlc.SuccessScript)
timeoutLeaf := txscript.NewBaseTapLeaf(trHtlc.TimeoutScript)
timeoutLeafHash := timeoutLeaf.TapHash()
tapscript := input.TapscriptPartialReveal(
trHtlc.InternalPubKey, successLeaf,
timeoutLeaf.TapHash(),
trHtlc.InternalPubKey, successLeaf, timeoutLeafHash[:],
)
estimator.AddTapscriptInput(maxSuccessWitnessSize, tapscript)
@ -339,9 +340,10 @@ func (h *Htlc) AddTimeoutToEstimator(estimator *input.TxWeightEstimator) error {
}
successLeaf := txscript.NewBaseTapLeaf(trHtlc.SuccessScript)
timeoutLeaf := txscript.NewBaseTapLeaf(trHtlc.TimeoutScript)
successLeafHash := successLeaf.TapHash()
tapscript := input.TapscriptPartialReveal(
trHtlc.InternalPubKey, timeoutLeaf,
successLeaf.TapHash(),
trHtlc.InternalPubKey, timeoutLeaf, successLeafHash[:],
)
estimator.AddTapscriptInput(maxTimeoutWitnessSize, tapscript)