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 2018-09-20 19:23:34 -07:00 committed by Olaoluwa Osuntokun
parent 0879a7354f
commit 7166130037
No known key found for this signature in database
GPG Key ID: CE58F7F8E20FD9A2

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