mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
Merge pull request #368 from yyforyongyu/fix-test
loopout: fix TestCustomSweepConfTarget
This commit is contained in:
commit
7a3e3bdad0
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue