Skip to content

fix: subscription response descrialization #66

Description

@hpsing
  • Now the subscription response has been changed from proxy rc8 as
{"source_node_id":"12D3KooWQhMu98ph7Y7BTN14jevHiPmsaGSuPsvfawsJY3jrxWyz","topic":"demo122","message_id":"03feaaf0cc2e3b8cd000a2696eec590d00d4cef51d4479ce78e9fd98c4662cdc","message":"VGhpcyBpcyBhIHNtYWxsIHRlc3QgbWVzc2FnMjIy"}

Here the message is -> base64

Please make the changes accordingly, on return the message only.
struct is:

https://github.com/getoptimum/optimum-common/blob/main/pkg/entities/p2p_messages.go

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions