itest: increase htlc amt for local force close tests
Since the tests set a quite high fee rate before the node goes to chain, the HTLCs wouldn't be economical to sweep at this fee rate. Pre sweeper handling of the second-level transactions this was not a problem, since the fees were set when the second-levels were created, before the fee estimate was increased.
This commit is contained in:
parent
83f9aaec98
commit
09f2307d14
@ -43,7 +43,7 @@ func testMultiHopHtlcLocalTimeout(net *lntest.NetworkHarness, t *harnessTest,
|
||||
// while the second will be a proper fully valued HTLC.
|
||||
const (
|
||||
dustHtlcAmt = btcutil.Amount(100)
|
||||
htlcAmt = btcutil.Amount(30000)
|
||||
htlcAmt = btcutil.Amount(300_000)
|
||||
finalCltvDelta = 40
|
||||
)
|
||||
|
||||
|
@ -36,7 +36,7 @@ func testMultiHopLocalForceCloseOnChainHtlcTimeout(net *lntest.NetworkHarness,
|
||||
// opens up the base for out tests.
|
||||
const (
|
||||
finalCltvDelta = 40
|
||||
htlcAmt = btcutil.Amount(30000)
|
||||
htlcAmt = btcutil.Amount(300_000)
|
||||
)
|
||||
ctx, cancel := context.WithCancel(ctxb)
|
||||
defer cancel()
|
||||
|
Loading…
Reference in New Issue
Block a user