qa: Fix service flag comparison check in rpc_net test#16936
qa: Fix service flag comparison check in rpc_net test#16936luke-jr wants to merge 1 commit intobitcoin:masterfrom
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: a308fe48c259af8528ca5d8b2222c3ca13c4aead
|
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. |
| 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.
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...