mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-05-03 16:30:18 +02:00
itest: remove old TODOs
As they are fixed now.
This commit is contained in:
parent
f349323923
commit
2f545717c9
@ -89,13 +89,6 @@ func testHoldInvoiceForceClose(ht *lntest.HarnessTest) {
|
|||||||
blocksTillCancel := blocksTillExpiry -
|
blocksTillCancel := blocksTillExpiry -
|
||||||
lncfg.DefaultHoldInvoiceExpiryDelta
|
lncfg.DefaultHoldInvoiceExpiryDelta
|
||||||
|
|
||||||
// When using ht.MineBlocks, for bitcoind backend, the block height
|
|
||||||
// synced differ significantly among subsystems. From observation, the
|
|
||||||
// LNWL syncs much faster than other subsystems, with more than 10
|
|
||||||
// blocks ahead. For this test case, CRTR may be lagging behind for
|
|
||||||
// more than 20 blocks. Thus we use slow mining instead.
|
|
||||||
// TODO(yy): fix block height asymmetry among all the subsystems.
|
|
||||||
//
|
|
||||||
// We first mine enough blocks to trigger an invoice cancelation.
|
// We first mine enough blocks to trigger an invoice cancelation.
|
||||||
ht.MineBlocks(int(blocksTillCancel))
|
ht.MineBlocks(int(blocksTillCancel))
|
||||||
|
|
||||||
|
@ -1932,8 +1932,6 @@ func testLocalClaimIncomingHTLCLeased(ht *lntest.HarnessTest) {
|
|||||||
// we force close a channel with an incoming HTLC, and later find out the
|
// we force close a channel with an incoming HTLC, and later find out the
|
||||||
// preimage via the witness beacon, we properly settle the HTLC on-chain using
|
// preimage via the witness beacon, we properly settle the HTLC on-chain using
|
||||||
// the HTLC success transaction in order to ensure we don't lose any funds.
|
// the HTLC success transaction in order to ensure we don't lose any funds.
|
||||||
//
|
|
||||||
// TODO(yy): simplify or remove this test as it's too complicated.
|
|
||||||
func runLocalClaimIncomingHTLCLeased(ht *lntest.HarnessTest,
|
func runLocalClaimIncomingHTLCLeased(ht *lntest.HarnessTest,
|
||||||
cfgs [][]string, params lntest.OpenChannelParams) {
|
cfgs [][]string, params lntest.OpenChannelParams) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user