itest: fix misuse of MineBlocks and replace it with
`MineBlocksAndAssertNumTxes`
This commit is contained in:
1 parent
f1f341095e
commit
8240a87c2b
8 files changed
+19
-11
No files matched your search
@@ -66,7 +66,7 @@ func testResHandoff(ht *lntest.HarnessTest) {
|
||||
ht.AssertNumWaitingClose(bob, 1)
|
||||
|
||||
// Mine a block to confirm the closing tx.
|
||||
ht.MineBlocks(1)
|
||||
ht.MineBlocksAndAssertNumTxes(1, 1)
|
||||
|
||||
// We sleep here so we can be sure that the hand-off has occurred from
|
||||
// Bob's contractcourt to Bob's htlcswitch. This sleep could be removed
|
||||
|
||||
Reference in new issue
Block a user