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

@@ -96,7 +96,7 @@ func testTaprootSendCoinsKeySpendBip86(ht *lntest.HarnessTest,
// Assert this is a segwit v1 address that starts with bcrt1p.
require.Contains(
ht, p2trResp.Address, ht.Miner.ActiveNet.Bech32HRPSegwit+"1p",
ht, p2trResp.Address, ht.Miner().ActiveNet.Bech32HRPSegwit+"1p",
)
// Send the coins from Alice's wallet to her own, but to the new p2tr