aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabian Jahr <fabian.jahr@whu.edu>2019-07-10 15:46:02 -0400
committerFabian Jahr <fabian.jahr@whu.edu>2019-07-16 17:33:22 -0400
commitd6649d16b57e20b05075f1c80d0de7ff32cca1a4 (patch)
treec53a058861181e45b6c162da7ba95e4df86f3399 /src
parent3199610ad3b93b849f2cb55a8ed3a39a32bbdffc (diff)
downloadbitcoin-d6649d16b57e20b05075f1c80d0de7ff32cca1a4.tar.xz
Use strong enum for WalletCreationStatus
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet.h2
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