Skip to content

getblockchaininfo now returns an array instead of a string for the warning key #352

@arik-so

Description

@arik-so

In json::lib.rs, the GetBlockchainInfoResult unfortunately is no longer accurate. In more recent versions of bitcoind, warnings changed from a string to an array.

Not sure how to make it work for both older and newer bitcoind versions, but currently it panics on the newer ones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions