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
@@ -428,8 +428,7 @@ func testRescanAddressDetection(ht *lntest.HarnessTest) {
|
||||
})
|
||||
|
||||
// Wait until the spending tx is found and mine a block to confirm it.
|
||||
ht.AssertNumTxsInMempool(1)
|
||||
ht.MineBlocks(1)
|
||||
ht.MineBlocksAndAssertNumTxes(1, 1)
|
||||
|
||||
// The wallet should still just see a single UTXO of the change output
|
||||
// created earlier.
|
||||
|
||||
Reference in new issue
Block a user