diff options
author | Fabian Jahr <fabian.jahr@whu.edu> | 2019-07-10 15:46:02 -0400 |
---|---|---|
committer | Fabian Jahr <fabian.jahr@whu.edu> | 2019-07-16 17:33:22 -0400 |
commit | d6649d16b57e20b05075f1c80d0de7ff32cca1a4 (patch) | |
tree | c53a058861181e45b6c162da7ba95e4df86f3399 /src/wallet | |
parent | 3199610ad3b93b849f2cb55a8ed3a39a32bbdffc (diff) |
Use strong enum for WalletCreationStatus
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 9db4b2c7d9..059528106f 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -49,7 +49,7 @@ std::vector<std::shared_ptr<CWallet>> GetWallets(); std::shared_ptr<CWallet> GetWallet(const std::string& name); std::shared_ptr<CWallet> LoadWallet(interfaces::Chain& chain, const WalletLocation& location, std::string& error, std::string& warning); -enum WalletCreationStatus { +enum class WalletCreationStatus { SUCCESS, CREATION_FAILED, ENCRYPTION_FAILED |