Skip to content
Snippets Groups Projects
Commit eda980b8 authored by Jono Wenger's avatar Jono Wenger
Browse files

Make ConstructIdentity return JSOn of the identity

parent 2cece747
No related branches found
No related tags found
3 merge requests!510Release,!419rewrote the health tracker to both consider if there are waiting rounds and...,!340Project/channels
...@@ -141,7 +141,7 @@ func ConstructIdentity(pubKey []byte, codesetVersion int) ([]byte, error) { ...@@ -141,7 +141,7 @@ func ConstructIdentity(pubKey []byte, codesetVersion int) ([]byte, error) {
if err != nil { if err != nil {
return nil, err return nil, err
} }
return identity.Marshal(), nil return json.Marshal(identity)
} }
// ImportPrivateIdentity generates a new [channel.PrivateIdentity] from exported // ImportPrivateIdentity generates a new [channel.PrivateIdentity] from exported
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment