The NEP6WalletManager.CheckIfPasswordMatchesOpenWallet does not throw AccountsPasswordMismatchException exception when wallet password is not in cache. This can be reproduced as such: Open an existing wallet.
wallet create testwallet.json
wallet close (This is to re-open the wallet to clear the password cache)
wallet open tetswallet.json
account create
(Enter wrong password exception; is thrown instead of showing "invalid password")
This is due to InvalidNEP2Exception is not of type FormatException:
The NEP6WalletManager.CheckIfPasswordMatchesOpenWallet does not throw AccountsPasswordMismatchException exception when wallet password is not in cache. This can be reproduced as such: Open an existing wallet.
This is due to InvalidNEP2Exception is not of type FormatException: