Skip to content

Commit 11758dc

Browse files
committed
loopout: fix TestCustomSweepConfTarget
1 parent 4b68fce commit 11758dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

loopout_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@ func TestCustomSweepConfTarget(t *testing.T) {
232232
testReq.SweepConfTarget = testLoopOutMinOnChainCltvDelta -
233233
DefaultSweepConfTargetDelta - 1
234234

235+
// Set on-chain HTLC CLTV.
236+
testReq.Expiry = ctx.Lnd.Height + testLoopOutMinOnChainCltvDelta
237+
235238
// Set up custom fee estimates such that the lower confirmation target
236239
// yields a much higher fee rate.
237240
ctx.Lnd.SetFeeEstimate(testReq.SweepConfTarget, 250)

0 commit comments

Comments
 (0)