itest: make sure edges are updated in mpp tests

This commit is contained in:
yyforyongyu 2023-05-19 15:17:11 +08:00
parent c6cfc425a0
commit 931481c4fe
No known key found for this signature in database
GPG Key ID: 9BCD95C4FF296868

View File

@ -296,6 +296,9 @@ func (m *mppTestScenario) openChannels(r *mppOpenChannelRequest) {
for _, cp := range m.channelPoints {
m.ht.AssertTopologyChannelOpen(hn, cp)
}
// Each node should have exactly 6 edges.
m.ht.AssertNumEdges(hn, len(m.channelPoints), false)
}
}