mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-09 22:13:39 +02:00
itest: fix misuse of MineBlocks
and replace it with
`MineBlocksAndAssertNumTxes`
This commit is contained in:
@@ -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