lntest+itest: make Miner a private instance
This commit is contained in:
1 parent
be4dba5da6
commit
14e7b134d9
9 files changed
+61
-51
No files matched your search
@@ -125,7 +125,7 @@ func testNonStdSweepInner(ht *lntest.HarnessTest, address string) {
|
||||
|
||||
// Fetch the vsize of the transaction so we can determine if the
|
||||
// transaction pays >= 1 sat/vbyte.
|
||||
rawTx := ht.Miner.GetRawTransactionVerbose(txid)
|
||||
rawTx := ht.Miner().GetRawTransactionVerbose(txid)
|
||||
|
||||
// Require fee >= vbytes.
|
||||
require.True(ht, fee >= int(rawTx.Vsize))
|
||||
|
||||
Reference in new issue
Block a user