mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-20 04:21:37 +02:00
contractcourt+itest: make sure ChannelArbitrator has the latest htlcs
This commit is contained in:
@@ -713,12 +713,6 @@ func runMultiHopLocalForceCloseOnChainHtlcTimeout(ht *lntest.HarnessTest,
|
||||
// to be mined to trigger a force close later on.
|
||||
var blocksMined uint32
|
||||
|
||||
// We need to mine a block otherwise `FindOutgoingHTLCDeadline` cannot
|
||||
// find the incoming HTLC on Bob's ChainArbitrator.
|
||||
//
|
||||
// TODO(yy): Investigate and fix it!
|
||||
ht.MineEmptyBlocks(1)
|
||||
|
||||
// Now that all parties have the HTLC locked in, we'll immediately
|
||||
// force close the Bob -> Carol channel. This should trigger contract
|
||||
// resolution mode for both of them.
|
||||
|
Reference in New Issue
Block a user