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

Fix JSON serialization of SpeicalTransacationOutcome #593

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Conversation

td202
Copy link
Contributor

@td202 td202 commented Jan 17, 2025

Purpose

Linked: Concordium/concordium-client#338 Concordium/concordium-wallet-proxy#119

Fix JSON serialization of SpeicalTransacationOutcome. This is needed for the wallet proxy.

Changes

  • Use dropWhile isLower instead of drop 3 to account for the new constructors having different prefixes.

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

@td202 td202 merged commit 6f6d108 into main Jan 17, 2025
40 checks passed
@td202 td202 deleted the fix-sto-json branch January 17, 2025 14:02
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.

2 participants