Skip to content

Better Bech32 encoding of an empty address #2580

Closed

Description

Currently, whenever we bech32ify an empty address (whenever you use .String or .MarshalJSON) it comes out as cosmos1550dq7. Should we have this encode as an empty string instead? That way, if it's in a JSON or Amino, it can just not include that field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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