itest: make sure edges are updated in mpp tests

This commit is contained in:
yyforyongyu 2023-05-19 15:17:11 +08:00 committed by Olaoluwa Osuntokun
parent 1ce7559110
commit 43b774d1e6

View file

@ -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)
} }
} }