Skip to content

Single supported nip creates invalid json  #164

@davotoula

Description

@davotoula

According to nip-11 spec, the supported_nips should always be a list.

When a relay only supports a single nip, then the single nip id is returned as an int instead of a list-of-one.

This causes json errors (in amethyst).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions