mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
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:
parent
14dfdc8521
commit
d5952f1202
9 changed files with 103 additions and 38 deletions
10
swap/htlc.go
10
swap/htlc.go
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue