Skip to content

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

@instagibbs

Description

@instagibbs

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions