Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task: add nullish coalescing operator to handle undefine meta properties #843

Merged
merged 1 commit into from
Sep 21, 2022

Conversation

AnthonyLaw
Copy link
Member

What was the issue?

  • REST is not returned timestamp and feeMultiplier in unconfirmed / partial / Listener, It caused SDK transaction DTO throw error when the value is undefined.

What's the fix?

  • added bullish coalescing operator to handle timestamp and feeMultiplier, when value is undefined, it returns 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to extract transaction meta handled by listener.
2 participants