itest+lntest: stop using pointer to chainhash.Hash
This commit fixes the methods used in `lntest` so they stop using pointers to chainhash.
This commit is contained in:
16 files changed
+99
-93
No files matched your search
@@ -372,7 +372,7 @@ func fundChanAndCloseFromImportedAccount(ht *lntest.HarnessTest, srcNode,
|
||||
)
|
||||
|
||||
block := ht.MineBlocksAndAssertNumTxes(6, 1)[0]
|
||||
ht.AssertTxInBlock(block, txHash)
|
||||
ht.AssertTxInBlock(block, *txHash)
|
||||
|
||||
confBalanceAfterChan += chanChangeUtxoAmt
|
||||
ht.AssertWalletAccountBalance(srcNode, account, 0, 0)
|
||||
@@ -389,7 +389,7 @@ func fundChanAndCloseFromImportedAccount(ht *lntest.HarnessTest, srcNode,
|
||||
)
|
||||
|
||||
block := ht.MineBlocksAndAssertNumTxes(6, 1)[0]
|
||||
ht.AssertTxInBlock(block, txHash)
|
||||
ht.AssertTxInBlock(block, *txHash)
|
||||
|
||||
confBalanceAfterChan += chanChangeUtxoAmt
|
||||
ht.AssertWalletAccountBalance(
|
||||
|
||||
Reference in new issue
Block a user