docs: fix broadcast misspelling

This commit is contained in:
w3irdrobot committed 2024-11-22 16:20:02 -05:00
1 parent a4195fa2ce
commit d3bff47167
6 files changed
+12 -8

No files matched your search

+3 -3
View File
@@ -3250,11 +3250,11 @@ func (s *server) genNodeAnnouncement(features *lnwire.RawFeatureVector,
return *s.currentNodeAnn, nil
}
// updateAndBrodcastSelfNode generates a new node announcement
// updateAndBroadcastSelfNode generates a new node announcement
// applying the giving modifiers and updating the time stamp
// to ensure it propagates through the network. Then it brodcasts
// to ensure it propagates through the network. Then it broadcasts
// it to the network.
func (s *server) updateAndBrodcastSelfNode(features *lnwire.RawFeatureVector,
func (s *server) updateAndBroadcastSelfNode(features *lnwire.RawFeatureVector,
modifiers ...netann.NodeAnnModifier) error {
newNodeAnn, err := s.genNodeAnnouncement(features, modifiers...)