mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 20:59:23 +00:00
* monero: only mask user features on new polyseed, not on decode - This commit ensures a polyseed string that has unsupported features correctly errors on decode (rather than panic in debug build or return an incorrect successful response in prod build) - Also avoids panicking when checksum calculation is unexpectedly wrong Polyseed reference impl for feature masking: - polyseed_create:b7c35bb3c6/src/polyseed.c (L61)- polyseed_decode:b7c35bb3c6/src/polyseed.c (L212)* PR comments * Make from_internal a member of Polyseed * Add accidentally removed newline --------- Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
13 KiB
13 KiB