Skip to content

Commit 43b774d

Browse files
yyforyongyuRoasbeef
authored andcommitted
itest: make sure edges are updated in mpp tests
1 parent 1ce7559 commit 43b774d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

itest/lnd_mpp_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ func (m *mppTestScenario) openChannels(r *mppOpenChannelRequest) {
296296
for _, cp := range m.channelPoints {
297297
m.ht.AssertTopologyChannelOpen(hn, cp)
298298
}
299+
300+
// Each node should have exactly 6 edges.
301+
m.ht.AssertNumEdges(hn, len(m.channelPoints), false)
299302
}
300303
}
301304

0 commit comments

Comments
 (0)