lntest+itest: rename AssertNumEdges to AssertNumActiveEdges
To properly reflect what the assertion is.
This commit is contained in:
6 files changed
+57
-18
No files matched your search
@@ -985,7 +985,7 @@ func testMPPToSingleBlindedPath(ht *lntest.HarnessTest) {
|
||||
}
|
||||
|
||||
// Each node should have exactly numPublic edges.
|
||||
ht.AssertNumEdges(hn, numPublic, false)
|
||||
ht.AssertNumActiveEdges(hn, numPublic, false)
|
||||
}
|
||||
|
||||
// Make Dave create an invoice with a blinded path for Alice to pay.
|
||||
@@ -1156,7 +1156,7 @@ func testBlindedRouteDummyHops(ht *lntest.HarnessTest) {
|
||||
}
|
||||
|
||||
// Each node should have exactly 5 edges.
|
||||
ht.AssertNumEdges(hn, len(channelPoints), false)
|
||||
ht.AssertNumActiveEdges(hn, len(channelPoints), false)
|
||||
}
|
||||
|
||||
// Make Dave create an invoice with a blinded path for Alice to pay.
|
||||
@@ -1325,7 +1325,7 @@ func testMPPToMultipleBlindedPaths(ht *lntest.HarnessTest) {
|
||||
}
|
||||
|
||||
// Each node should have exactly 5 edges.
|
||||
ht.AssertNumEdges(hn, len(channelPoints), false)
|
||||
ht.AssertNumActiveEdges(hn, len(channelPoints), false)
|
||||
}
|
||||
|
||||
// Ok now make a payment that must be split to succeed.
|
||||
|
||||
Reference in new issue
Block a user