Removed unnecessary function call and assignment get_generate_key() already calls key_to_p2pkh() and stores it in the object as p2pkh_addr.
key.p2pkh_addr is already used for most testcases as well, so it is just a redundant call
Removed unnecessary function call and assignment get_generate_key() already calls key_to_p2pkh() and stores it in the object as p2pkh_addr.
key.p2pkh_addr is already used for most testcases as well, so it is just a redundant call
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--021abf342d371248e50ceaed478a90ca-->
See the guideline for information on the review process.
| Type | Reviewers |
|---|---|
| ACK | MarcoFalke |
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
<!--174a7506f384e20aa4161008e828411d-->
Reviewers, 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.
125 | "internal": True}, 126 | success=True) 127 | - info = w1.getaddressinfo(addr) 128 | + info = w1.getaddressinfo(key.p2pkh_addr) 129 | assert_equal(info["ismine"], True) 130 | assert_equal(info["ischange"], True)
as you are touching this; for some reason, this is the only one of the related subtests that the test_address() helper method is not used.
ACK 61360e0cf9a9be44cb744b0f9dbc661b41a7cce6