aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-07-12 15:35:41 +0200
committerMacroFake <falke.marco@gmail.com>2022-07-12 19:20:01 +0200
commitfa475e9c7977a952617738f2ee8cf600c07d4df8 (patch)
treedc97023220ebccf7db7dd674b00c66cea2b69a5e /src/interfaces
parentfa8de09edc9ec4e6d171df80f746174a0ec58afb (diff)
downloadbitcoin-fa475e9c7977a952617738f2ee8cf600c07d4df8.tar.xz
refactor: Return BResult from restoreWallet
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/wallet.h2
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;