Merge pull request #9290 from w3irdrobot/broadcast-misspelling

docs: fix broadcast misspelling
This commit is contained in:
Oliver Gugger authored and GitHub committed 2024-11-25 12:25:51 +01:00
commit 66940024ac
6 files changed
+12 -8

No files matched your search

+3 -3
View File
@@ -3272,11 +3272,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...)