Skip to content

fix: decode BIP38 sequence correctly - #1373

Merged
NicolasDorier merged 2 commits into
MetacoSA:masterfrom
unsafePtr:fix/bip38-roundtrip-assertion
Nov 5, 2026
Merged

NicolasDorier merged 2 commits into
MetacoSA:masterfrom
unsafePtr:fix/bip38-roundtrip-assertion

Conversation

@unsafePtr

Copy link
Copy Markdown
Contributor

The BIP38 LotSequence decoder subtracts the lot number instead of the packed lot contribution, producing an incorrect decoded sequence. The round-trip test now compares the input sequence with the deserialized value.

@NicolasDorier
NicolasDorier merged commit 8da9de7 into MetacoSA:master Nov 5, 2026
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