lntest+itest: rename AssertNumEdges to AssertNumActiveEdges

To properly reflect what the assertion is.
This commit is contained in:
yyforyongyu committed 2024-11-11 20:57:49 +08:00
1 parent 35992e1503
commit d27ff34b04
6 files changed
+57 -18

No files matched your search

+3 -3
View File
@@ -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.