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:
Johan T. Halseth committed 2019-09-02 09:37:37 +02:00
1 parent 857a2c3e65
commit 168fc4e1ab
1 file changed
+4
+4
View File
@@ -12760,6 +12760,10 @@ func testSendUpdateDisableChannel(net *lntest.NetworkHarness, t *harnessTest) {
},
)
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