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
qa: Fix service flag comparison check in rpc_net test #16936
Conversation
This fixes it, but the stupid linters don't like it:
Can I just get rid of the linter, or is there another approach that would be preferred? |
You could add to test/lint/lint-python-dead-code-whitelist? |
3300669
to
9a0421d
Compare
9a0421d
to
78487ef
Compare
There, got linter happy. |
ACK 78487ef That was quite an interesting chain of coincidences and fails; the fact that the tested servicesflags (0x809) didn't contain any hexadecimal symbols |
Github-Pull: bitcoin#16936 Rebased-From: a308fe4
I wouldn't be surprised if other users also stepped into this trap. The field should probably be a normal json number, not a hex encoded string version of the int. Concept ACK anyway |
Yes, agree it should be a Number ideally. |
unsigned ACK 78487ef (looked at the diff on GitHub) |
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
@@ -12,6 +12,8 @@ InvalidOPIFConstruction # unused class (test/functional/data/invalid_txs.py) | |||
_.is_compressed # unused property (test/functional/test_framework/key.py) | |||
legacy # unused variable (test/functional/test_framework/address.py) | |||
msg_generic # unused class (test/functional/test_framework/messages.py) | |||
NODE_BLOOM # actually used (test/functional/test_framework/messages.py) | |||
NODE_GETUTXO # actually used (test/functional/test_framework/messages.py) |
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.
This file was deleted in master
. Mind to remove those changes again and force push? (No need to rebase, if you don't want to)
Needs rebase |
Closing in favor of #16991 |
…luke-jr) 9c23ebd qa: Fix service flag comparison check in rpc_net test (Luke Dashjr) Pull request description: Rebase of #16936 ACKs for top commit: darosior: ACK 9c23ebd Tree-SHA512: 74f287740403da1040ab1e235ef6eba4e304f3ee5d57a3b25d1e2e1f2f982d256528d398a4d6cb24ba393798e680a8f46cd7dae54ed84ab2c747e96288f1f884
#16850 was basically completely broken...