mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-10 23:32:39 +02:00
lntest+itest: rename AssertNumEdges
to AssertNumActiveEdges
To properly reflect what the assertion is.
This commit is contained in:
@@ -591,12 +591,12 @@ func testPrivateChannels(ht *lntest.HarnessTest) {
|
||||
|
||||
// Carol and Alice should know about 4, while Bob and Dave should only
|
||||
// know about 3, since one channel is private.
|
||||
ht.AssertNumEdges(alice, 4, true)
|
||||
ht.AssertNumEdges(alice, 3, false)
|
||||
ht.AssertNumEdges(bob, 3, true)
|
||||
ht.AssertNumEdges(carol, 4, true)
|
||||
ht.AssertNumEdges(carol, 3, false)
|
||||
ht.AssertNumEdges(dave, 3, true)
|
||||
ht.AssertNumActiveEdges(alice, 4, true)
|
||||
ht.AssertNumActiveEdges(alice, 3, false)
|
||||
ht.AssertNumActiveEdges(bob, 3, true)
|
||||
ht.AssertNumActiveEdges(carol, 4, true)
|
||||
ht.AssertNumActiveEdges(carol, 3, false)
|
||||
ht.AssertNumActiveEdges(dave, 3, true)
|
||||
|
||||
// Close all channels.
|
||||
ht.CloseChannel(alice, chanPointAlice)
|
||||
|
Reference in New Issue
Block a user