Use strong enum for WalletCreationStatus
This commit is contained in:
1 parent
3199610ad3
commit
d6649d16b5
1 file changed
+1
-1
+1
-1
@@ -49,7 +49,7 @@ std::vector<std::shared_ptr<CWallet>> GetWallets();
|
|||||||
std::shared_ptr<CWallet> GetWallet(const std::string& name);
|
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);
|
std::shared_ptr<CWallet> LoadWallet(interfaces::Chain& chain, const WalletLocation& location, std::string& error, std::string& warning);
|
||||||
|
|
||||||
enum WalletCreationStatus {
|
enum class WalletCreationStatus {
|
||||||
SUCCESS,
|
SUCCESS,
|
||||||
CREATION_FAILED,
|
CREATION_FAILED,
|
||||||
ENCRYPTION_FAILED
|
ENCRYPTION_FAILED
|
||||||
|
|||||||
Reference in new issue
Block a user