multi: update linter, fix new issues

This commit is contained in:
Oliver Gugger committed 2023-06-13 11:58:33 +02:00
1 parent e549096b88
commit 56dba2df03
31 files changed
+263 -301

No files matched your search

+3 -5
View File
@@ -173,8 +173,7 @@ func testChannelFundMax(ht *lntest.HarnessTest) {
success := ht.Run(
testCase.name, func(tt *testing.T) {
runFundMaxTestCase(
ht, tt, alice, bob, testCase,
reserveAmount,
ht, alice, bob, testCase, reserveAmount,
)
},
)
@@ -188,9 +187,8 @@ func testChannelFundMax(ht *lntest.HarnessTest) {
}
// runTestCase runs a single test case asserting that test conditions are met.
func runFundMaxTestCase(ht *lntest.HarnessTest, t *testing.T, alice,
bob *node.HarnessNode, testCase *chanFundMaxTestCase,
reserveAmount btcutil.Amount) {
func runFundMaxTestCase(ht *lntest.HarnessTest, alice, bob *node.HarnessNode,
testCase *chanFundMaxTestCase, reserveAmount btcutil.Amount) {
ht.FundCoins(testCase.initialWalletBalance, alice)