Skip to content

Conversation

@ninegua
Copy link
Member

@ninegua ninegua commented Jul 18, 2025

The casting was implemented using string parsing, but nat and int types from candid may convert to strings with underscores _ in them. This would fail the parsing for standard Rust number types.

The fix is simply to remove the underscores.

@ninegua ninegua requested a review from a team as a code owner July 18, 2025 04:38
Copy link
Contributor

@ggreif ggreif left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks, Paul!

@ggreif ggreif merged commit ed7c87e into dfinity:master Jul 18, 2025
6 checks passed
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