-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add error codes to LibWallet for CipherSeed errors (#3578)
Description --- This PR adds explicit error codes to the LibWallet FFI interface to return the errors that can occur when invalid seed words are used during wallet recovery. The new error codes are: - Code 429: KeyManagerError::InvalidData - Code 430: KeyManagerError::VersionMismatch - Code 431: KeyManagerError::DecryptionFailed - Code 432: KeyManagerError::CrcError How Has This Been Tested? --- cargo test
- Loading branch information
1 parent
81f8c37
commit 2913804
Showing
2 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters