lntest+itest: make Miner a private instance

This commit is contained in:
yyforyongyu
2024-05-01 19:09:45 +08:00
committed by yyforyongyu
parent be4dba5da6
commit 14e7b134d9
9 changed files with 61 additions and 51 deletions

View File

@@ -32,7 +32,7 @@ func testOpenChannelAfterReorg(ht *lntest.HarnessTest) {
// Create a temp miner.
tempMiner := ht.SpawnTempMiner()
miner := ht.Miner
miner := ht.Miner()
alice, bob := ht.Alice, ht.Bob
// Create a new channel that requires 1 confs before it's considered