Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Fix string unmarshal #64

Merged
merged 1 commit into from
Feb 7, 2023
Merged

Fix string unmarshal #64

merged 1 commit into from
Feb 7, 2023

Conversation

agouin
Copy link
Member

@agouin agouin commented Feb 7, 2023

Without attempting to Unmarshal thenext value as string, JSON strings (instead of objects) would have an extra level of escape characters. For more than one hop, this leads to packet forward middleware on the next chain being unable to unmarshal the memo and identify that it should be forwarded again.

Adds test case coverage

@agouin agouin requested a review from jtieri February 7, 2023 08:53
@agouin agouin merged commit 63c3d9f into v3 Feb 7, 2023
@agouin agouin deleted the andrew/fix_string_unmarshal branch February 7, 2023 08:57
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant