Skip to content

Commit

Permalink
Merge pull request #368 from yyforyongyu/fix-test
Browse files Browse the repository at this point in the history
loopout: fix TestCustomSweepConfTarget
  • Loading branch information
carlaKC committed Jul 26, 2021
2 parents 478f242 + 11758dc commit 7a3e3bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions loopout_test.go
Expand Up @@ -236,6 +236,9 @@ func TestCustomSweepConfTarget(t *testing.T) {
testReq.SweepConfTarget = testLoopOutMinOnChainCltvDelta -
DefaultSweepConfTargetDelta - 1

// Set on-chain HTLC CLTV.
testReq.Expiry = ctx.Lnd.Height + testLoopOutMinOnChainCltvDelta

// Set up custom fee estimates such that the lower confirmation target
// yields a much higher fee rate.
ctx.Lnd.SetFeeEstimate(testReq.SweepConfTarget, 250)
Expand Down

0 comments on commit 7a3e3bd

Please sign in to comment.