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

Fix string unmarshal #65

Merged
merged 1 commit into from
Feb 7, 2023
Merged

Fix string unmarshal #65

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 09:01
@agouin agouin merged commit 231a05e into main Feb 7, 2023
@agouin agouin deleted the andrew/fix_string_unmarshal_v6 branch February 7, 2023 09:05
# 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