diff options
author | MacroFake <falke.marco@gmail.com> | 2022-07-12 15:35:41 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-07-12 19:20:01 +0200 |
commit | fa475e9c7977a952617738f2ee8cf600c07d4df8 (patch) | |
tree | dc97023220ebccf7db7dd674b00c66cea2b69a5e /src/interfaces/wallet.h | |
parent | fa8de09edc9ec4e6d171df80f746174a0ec58afb (diff) |
refactor: Return BResult from restoreWallet
Diffstat (limited to 'src/interfaces/wallet.h')
-rw-r--r-- | src/interfaces/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index fe198c999b..e29fefae56 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -329,7 +329,7 @@ public: virtual std::string getWalletDir() = 0; //! Restore backup wallet - virtual std::unique_ptr<Wallet> restoreWallet(const fs::path& backup_file, const std::string& wallet_name, bilingual_str& error, std::vector<bilingual_str>& warnings) = 0; + virtual BResult<std::unique_ptr<Wallet>> restoreWallet(const fs::path& backup_file, const std::string& wallet_name, std::vector<bilingual_str>& warnings) = 0; //! Return available wallets in wallet directory. virtual std::vector<std::string> listWalletDir() = 0; |