lnd_test: add onion addresses to testNodeAnnouncement

In this commit, we include onion addresses in testNodeAnnouncement to
ensure they properly propagate throughout the network.
This commit is contained in:
Wilmer Paulino authored and Olaoluwa Osuntokun committed 2018-10-23 18:42:33 -07:00
1 parent 0879a7354f
commit 7166130037
1 file changed
+2
+2
View File
@@ -7858,6 +7858,8 @@ func testNodeAnnouncement(net *lntest.NetworkHarness, t *harnessTest) {
advertisedAddrs := []string{
"192.168.1.1:8333",
"[2001:db8:85a3:8d3:1319:8a2e:370:7348]:8337",
"bkb6azqggsaiskzi.onion:9735",
"fomvuglh6h6vcag73xo5t5gv56ombih3zr2xvplkpbfd7wrog4swjwid.onion:1234",
}
var lndArgs []string