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
discovery: refactor processNetworkAnnouncement into smaller functions #6278
discovery: refactor processNetworkAnnouncement into smaller functions #6278
Conversation
0b16f91
to
4cf95d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tACK! Thank you for breaking the review in those commits, really easy to follow 🎉
nit: most of the logic was moved one indentation back, many lines can be reformatted and still meet the 80 columns constrain. Not blocking
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something I wanted to do while reading the code, thank you for refactoring it! Changes looking good, only a few nits.
4cf95d6
to
d44d92e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM🎉
To improve the readability of the massive function. It may be possible to split them even further.