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

ledger: Fix writeUint64LE #3958

Merged
merged 1 commit into from
Aug 23, 2024
Merged

Conversation

JoeGruffins
Copy link
Member

@JoeGruffins JoeGruffins commented Aug 2, 2024

I thought this was a problem with v2.0.3 but it seems to just be a bug. The raw numbers were not behaving as expected causing an out of bounds value when trying to use buff.writeUInt32LE.

The current code still cannot handle a uint64 number with full precision it seems but numbers larger than a uint32 no longer make it barf.

@alexlyp alexlyp merged commit 5227a52 into decred:master Aug 23, 2024
1 check 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