test: fix constant compliation error

This commit is contained in:
Olaoluwa Osuntokun committed 2018-05-25 19:57:30 -07:00
1 parent fa5c0b9ee7
commit 19e826cada
1 file changed
+2 -1
+2 -1
View File
@@ -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",