Skip to content

p2p: Channels are JSON encoded as base64 byte string #1310

@ebuchman

Description

@ebuchman

Channels are []byte because they're literally an array of indivdiual bytes but we want to see the numbers themselves when json encoded not the garbage base64 string.

So maybe we just need to change to []int8 or even []int ...

Ie. see the /status output: "channels": "QCAhIiMwOAA=",

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:p2pComponent: P2P pkg

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions