Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netann+docs: remove nil value from variadic list #7922

Merged
merged 1 commit into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/release-notes/release-notes-0.17.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
have to make sure to not broadcast outdated transactions which can lead to
locked up wallet funds indefinitely in the worst case.

- [Remove nil value](https://github.com/lightningnetwork/lnd/pull/7922) from
variadic parameter list.

# New Features
## Functional Enhancements
### Protocol Features
Expand Down
2 changes: 1 addition & 1 deletion netann/host_ann.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func IPAnnouncer(annUpdater NodeAnnUpdater) func([]net.Addr,
map[string]struct{}) error {

return func(newAddrs []net.Addr, oldAddrs map[string]struct{}) error {
_, err := annUpdater(nil, func(
_, err := annUpdater(func(
currentNodeAnn *lnwire.NodeAnnouncement) {
// To ensure we don't duplicate any addresses, we'll
// filter out the same of addresses we should no longer
Expand Down
Loading