lntest+itest: remove AssertNumActiveEdges
This is no longer needed since we don't have standby nodes, plus it's causing panic in windows build due to `edge.Policy` being nil.
This commit is contained in:
6 files changed
+15
-69
No files matched your search
@@ -940,7 +940,7 @@ func testMPPToSingleBlindedPath(ht *lntest.HarnessTest) {
|
||||
}
|
||||
|
||||
// Each node should have exactly numPublic edges.
|
||||
ht.AssertNumActiveEdges(hn, numPublic, false)
|
||||
ht.AssertNumEdges(hn, numPublic, false)
|
||||
}
|
||||
|
||||
// Make Dave create an invoice with a blinded path for Alice to pay.
|
||||
@@ -1111,7 +1111,7 @@ func testBlindedRouteDummyHops(ht *lntest.HarnessTest) {
|
||||
}
|
||||
|
||||
// Each node should have exactly 5 edges.
|
||||
ht.AssertNumActiveEdges(hn, len(channelPoints), false)
|
||||
ht.AssertNumEdges(hn, len(channelPoints), false)
|
||||
}
|
||||
|
||||
// Make Dave create an invoice with a blinded path for Alice to pay.
|
||||
@@ -1281,7 +1281,7 @@ func testMPPToMultipleBlindedPaths(ht *lntest.HarnessTest) {
|
||||
}
|
||||
|
||||
// Each node should have exactly 5 edges.
|
||||
ht.AssertNumActiveEdges(hn, len(channelPoints), false)
|
||||
ht.AssertNumEdges(hn, len(channelPoints), false)
|
||||
}
|
||||
|
||||
// Ok now make a payment that must be split to succeed.
|
||||
|
||||
Reference in new issue
Block a user