lntest/itest: cleanup force closed channel in testSendUpdateDisableChannel
Otherwise following tests would be flaky because of unexpected sweep transaction in the mempool.
This commit is contained in:
1 file changed
+4
@@ -12760,6 +12760,10 @@ func testSendUpdateDisableChannel(net *lntest.NetworkHarness, t *harnessTest) {
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
mineBlocks(t, net, 1, 1)
|
mineBlocks(t, net, 1, 1)
|
||||||
|
|
||||||
|
// And finally, clean up the force closed channel by mining the
|
||||||
|
// sweeping transaction.
|
||||||
|
cleanupForceClose(t, net, net.Alice, chanPointAliceCarol)
|
||||||
}
|
}
|
||||||
|
|
||||||
// testAbandonChannel abandones a channel and asserts that it is no
|
// testAbandonChannel abandones a channel and asserts that it is no
|
||||||
|
|||||||
Reference in new issue
Block a user