itest: add missing topology check in tests

This commit adds the missing topology checks.
This commit is contained in:
yyforyongyu committed 2023-02-23 21:56:10 +08:00
1 parent d97f52d12a
commit 8288d3da8e
3 files changed
+15 -1

No files matched your search

+3
View File
@@ -341,6 +341,9 @@ func runMultiHopSendToRoute(ht *lntest.HarnessTest, useGraphCache bool) {
)
defer ht.CloseChannel(carol, chanPointBob)
// Make sure Alice knows the channel between Bob and Carol.
ht.AssertTopologyChannelOpen(alice, chanPointBob)
// Create 5 invoices for Carol, which expect a payment from Alice for
// 1k satoshis with a different preimage each time.
const (