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 2019-08-07 13:12:32 +02:00
parent 857a2c3e65
commit 168fc4e1ab
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -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