Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with key replacement in address derivation
Revised the key replacement logic in the `validateAddress` function to prevent misinterpretation of key indices. The loop now iterates in reverse order to avoid scenarios where, for example, @10 is mistakenly replaced as @1, leaving an extra 0. This change ensures that the correct keys are replaced when deriving the wallet address.
- Loading branch information