test: fix constant compliation error

This commit is contained in:
Olaoluwa Osuntokun 2018-05-25 19:57:30 -07:00
parent fa5c0b9ee7
commit 19e826cada
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

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",