lntest+itest: make sure mempool is cleaned in watcher tower test
This commit adds the missing check for anchor sweep in test `revoked_uncooperative_close_retribution_altruist_watchtower`, also change the mempool check a bit so it's easier to track.
This commit is contained in:
2 files changed
+8
-6
No files matched your search
@@ -849,6 +849,11 @@ func testRevokedCloseRetributionAltruistWatchtowerCase(ht *lntemp.HarnessTest,
|
||||
|
||||
ht.AssertNumPendingForceClose(dave, 0)
|
||||
|
||||
// If this is an anchor channel, Dave would sweep the anchor.
|
||||
if anchors {
|
||||
ht.MineBlocksAndAssertNumTxes(1, 1)
|
||||
}
|
||||
|
||||
// Check that Dave's wallet balance is increased.
|
||||
err = wait.NoError(func() error {
|
||||
daveBalResp := dave.RPC.WalletBalance()
|
||||
|
||||
Reference in new issue
Block a user