getaddressinfo: complains missing isscript when called on unknown witness version #30456

issue instagibbs openend this issue on July 16, 2024
  1. instagibbs commented at 4:23 pm on July 16, 2024: member

    Is there an existing issue for this?

    • I have searched the existing issues

    Current behaviour

    *** test_framework.authproxy.JSONRPCException: Internal bug detected: RPC call “getaddressinfo” returned incorrect type: { “isscript”: “key missing, despite not being optional in doc” }

    f.e., when called with bcrt1pfeesnyr2tx on regtest

    Expected behaviour

    I expect it to not return an internal bug

    Steps to reproduce

    getaddressinfo “bcrt1pfeesnyr2tx”

    with a wallet active

    Relevant log output

    No response

    How did you obtain Bitcoin Core

    Compiled from source

    What version of Bitcoin Core are you using?

    master@2c79abc7ad4850e9e3ba32a04c530155cda7f980

    Operating system and version

    Ubuntu 22.04.4 LTS

    Machine specifications

    No response

  2. maflcko added the label Docs on Jul 16, 2024
  3. maflcko added the label Wallet on Jul 16, 2024
  4. maflcko added the label RPC/REST/ZMQ on Jul 16, 2024
  5. maflcko commented at 4:40 pm on July 16, 2024: member

    Unrelated note: Fuzz coverage is zero, so it seems like adding coverage here could turn up other bugs.

    Ref: https://maflcko.github.io/b-c-cov/fuzz.coverage/src/wallet/rpc/addresses.cpp.gcov.html

  6. instagibbs commented at 5:18 pm on July 16, 2024: member
    @maflcko feels related to me ;)
  7. fanquake closed this on Jul 17, 2024

  8. fanquake referenced this in commit 37992244e6 on Jul 17, 2024

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: 2024-09-08 01:12 UTC

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