mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-25 06:55:32 +01:00
Use strong enum for WalletCreationStatus
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user