From 19e826cada72ae8dd2c3af68cfe5c37c97eeb03c Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Fri, 25 May 2018 19:57:30 -0700 Subject: [PATCH] test: fix constant compliation error --- lnd_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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",