lntest+itest: continue removing direct call to Miner

This commit is contained in:
yyforyongyu
2024-05-01 19:40:05 +08:00
committed by yyforyongyu
parent 976bb37972
commit 6bd8baea38
18 changed files with 124 additions and 93 deletions

View File

@@ -862,7 +862,7 @@ func testChannelFundingPersistence(ht *lntest.HarnessTest) {
ht.AssertTxInBlock(block, fundingTxID)
// Get the height that our transaction confirmed at.
_, height := ht.Miner.GetBestBlock()
_, height := ht.GetBestBlock()
// Restart both nodes to test that the appropriate state has been
// persisted and that both nodes recover gracefully.