test: call `keypoolrefill` with priv key disabled should throw an error #26723

pull brunoerg wants to merge 1 commits into bitcoin:master from brunoerg:2022-12-keypool-error-privatekey changing 1 files +3 −0
  1. brunoerg commented at 8:25 PM on December 18, 2022: contributor
  2. DrahtBot commented at 8:25 PM on December 18, 2022: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK aureleoules

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

  3. DrahtBot added the label Tests on Dec 18, 2022
  4. test: call `keypoolrefill` with private keys disabled should throw an error ec63a4892e
  5. brunoerg force-pushed on Dec 19, 2022
  6. aureleoules commented at 2:10 PM on December 19, 2022: member

    ACK ec63a4892e67fdc6c0c464e6d4cffcd3eb48941c

  7. maflcko referenced this in commit 8ab19237e1 on Dec 19, 2022
  8. fanquake commented at 2:29 PM on December 19, 2022: member
  9. fanquake closed this on Dec 19, 2022

  10. brunoerg commented at 2:32 PM on December 19, 2022: contributor

    Closing, as this has been merged. However wasn't this already covered in https://github.com/bitcoin/bitcoin/blob/8ab19237e11ee510a7941a4ab429471b29cccd69/test/functional/wallet_watchonly.py#L57 ?

    No, the error message is the same but the commands are different.

  11. aureleoules commented at 3:08 PM on December 19, 2022: member

    I also verified that this was not already covered by looking at https://marcofalke.github.io/btc_cov/total.coverage/src/wallet/rpc/addresses.cpp.gcov.html.

  12. sidhujag referenced this in commit 5d2a74dddb on Dec 19, 2022
  13. bitcoin locked this on Dec 19, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-02 03:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me