mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-01 02:51:37 +02:00
itest: make sure edges are updated in mpp tests
This commit is contained in:
@ -296,6 +296,9 @@ func (m *mppTestScenario) openChannels(r *mppOpenChannelRequest) {
|
|||||||
for _, cp := range m.channelPoints {
|
for _, cp := range m.channelPoints {
|
||||||
m.ht.AssertTopologyChannelOpen(hn, cp)
|
m.ht.AssertTopologyChannelOpen(hn, cp)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Each node should have exactly 6 edges.
|
||||||
|
m.ht.AssertNumEdges(hn, len(m.channelPoints), false)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user