Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-2721] Fix TopicParameter deserialization #1562

Merged
merged 4 commits into from
Jun 13, 2019
Merged

[PAN-2721] Fix TopicParameter deserialization #1562

merged 4 commits into from
Jun 13, 2019

Conversation

RatanRSur
Copy link
Contributor

PR description

In our custom deserialization, the end of the topic array was not being consumed, causing the jackson to think parsing was complete before reaching the remainder of the json fields.

Fixed Issue(s)

https://pegasys1.atlassian.net/secure/RapidBoard.jspa?rapidView=28&modal=detail&selectedIssue=PAN-2721

.orElseThrow(
() ->
new InvalidJsonRpcParameters(
"Missing required json rpc parameter at index " + index));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no functional change, just streamlined

Copy link
Contributor

@AbdelStark AbdelStark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm.

@RatanRSur RatanRSur merged commit f39b0b6 into PegaSysEng:master Jun 13, 2019
@RatanRSur RatanRSur deleted the PAN-2721-eventeum branch June 13, 2019 16:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants