-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Improve readability in handleQueryP2P #9205
Improve readability in handleQueryP2P #9205
Conversation
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, could you add a changelog entry please
Codecov Report
@@ Coverage Diff @@
## master #9205 +/- ##
==========================================
- Coverage 60.06% 60.06% -0.01%
==========================================
Files 595 595
Lines 37353 37355 +2
==========================================
+ Hits 22436 22437 +1
Misses 12929 12929
- Partials 1988 1989 +1
|
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.
thanks!
@marbar3778 @AmauryM please note the changes in c760c4fa9..923c0f84d including the requested |
…ssary initialization
923c0f8
to
9a92272
Compare
* refactor(abci handleP2PQuery): improve readability via control flow * refactor(acbi handleQueryP2P): fix logic control flow to ensure early return * refactor(abci handleQueryP2P): move var declaration to prevent unnecessary initialization * support(CHANGELOG): add description for abci handleQueryP2P changes Co-authored-by: Marko <[email protected]> Co-authored-by: Amaury <[email protected]> (cherry picked from commit 6fbded9)
Description
ref: #4965
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passes