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
@@ -94,7 +94,7 @@ func newChanRestoreScenario(ht *lntest.HarnessTest, ct lnrpc.CommitmentType,
|
||||
ht.FundCoinsUnconfirmed(btcutil.SatoshiPerBitcoin, dave)
|
||||
|
||||
// Mine a block to confirm the funds.
|
||||
ht.MineBlocks(1)
|
||||
ht.MineBlocksAndAssertNumTxes(1, 2)
|
||||
|
||||
// For the anchor output case we need two UTXOs for Carol so she can
|
||||
// sweep both the local and remote anchor.
|
||||
|
||||
Reference in new issue
Block a user