gossiper: retransmit self NodeAnnouncement

This commit is contained in:
Johan T. Halseth committed 2019-09-16 10:54:42 +02:00
1 parent 24004fcb37
commit 92123c603d
2 files changed
+69 -20

No files matched your search

+3 -3
View File
@@ -2932,9 +2932,9 @@ func TestRetransmit(t *testing.T) {
t.Fatalf("unable to force tick")
}
// The channel announcement + local channel update should be
// re-broadcast.
checkAnnouncements(t, 1, 1, 0)
// The channel announcement + local channel update + node announcement
// should be re-broadcast.
checkAnnouncements(t, 1, 1, 1)
}
// TestNodeAnnouncementNoChannels tests that NodeAnnouncements for nodes with