test: fix constant compliation error
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -4060,11 +4060,12 @@ func testFailingChannel(net *lntest.NetworkHarness, t *harnessTest) {
|
|||||||
ctxb := context.Background()
|
ctxb := context.Background()
|
||||||
const (
|
const (
|
||||||
timeout = time.Duration(time.Second * 10)
|
timeout = time.Duration(time.Second * 10)
|
||||||
chanAmt = maxFundingAmount
|
|
||||||
paymentAmt = 10000
|
paymentAmt = 10000
|
||||||
defaultCSV = 4
|
defaultCSV = 4
|
||||||
)
|
)
|
||||||
|
|
||||||
|
chanAmt := maxFundingAmount
|
||||||
|
|
||||||
// We'll introduce Carol, which will settle any incoming invoice with a
|
// We'll introduce Carol, which will settle any incoming invoice with a
|
||||||
// totally unrelated preimage.
|
// totally unrelated preimage.
|
||||||
carol, err := net.NewNode("Carol",
|
carol, err := net.NewNode("Carol",
|
||||||
|
|||||||
Reference in new issue
Block a user