diff --git a/lnd_test.go b/lnd_test.go index 68ba2201b..4d6923ce5 100644 --- a/lnd_test.go +++ b/lnd_test.go @@ -4060,11 +4060,12 @@ func testFailingChannel(net *lntest.NetworkHarness, t *harnessTest) { ctxb := context.Background() const ( timeout = time.Duration(time.Second * 10) - chanAmt = maxFundingAmount paymentAmt = 10000 defaultCSV = 4 ) + chanAmt := maxFundingAmount + // We'll introduce Carol, which will settle any incoming invoice with a // totally unrelated preimage. carol, err := net.NewNode("Carol",