Skip to content

Commit d6649d1

Browse files
author
Fabian Jahr
committed
Use strong enum for WalletCreationStatus
1 parent 3199610 commit d6649d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/wallet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ std::vector<std::shared_ptr<CWallet>> GetWallets();
4949
std::shared_ptr<CWallet> GetWallet(const std::string& name);
5050
std::shared_ptr<CWallet> LoadWallet(interfaces::Chain& chain, const WalletLocation& location, std::string& error, std::string& warning);
5151

52-
enum WalletCreationStatus {
52+
enum class WalletCreationStatus {
5353
SUCCESS,
5454
CREATION_FAILED,
5555
ENCRYPTION_FAILED

0 commit comments

Comments
 (0)