chanbackup: make sure onion addresses are covered in tests

This commit is contained in:
Elle Mouton committed 2025-05-23 16:11:27 +02:00
1 parent cbdd1c22b7
commit 6e9372a3e8
3 files changed
+9 -3

No files matched your search

+1
View File
@@ -156,6 +156,7 @@ func TestFetchStaticChanBackups(t *testing.T) {
chanSource.chans[randomChan2.FundingOutpoint] = randomChan2
chanSource.addAddrsForNode(randomChan1.IdentityPub, []net.Addr{addr1})
chanSource.addAddrsForNode(randomChan2.IdentityPub, []net.Addr{addr2})
chanSource.addAddrsForNode(randomChan2.IdentityPub, []net.Addr{addr3})
// With the channel source populated, we'll now attempt to create a set
// of backups for all the channels. This should succeed, as all items