aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/node.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-10-06 17:52:05 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-10-08 13:02:14 -0400
commitfacec1c643105d0ae74b5d32cf33d593f9e82a36 (patch)
tree70ddbd9cd41bb94a5667ec8ccc24c45b7ffe203f /src/interfaces/node.h
parent94e6e9f38deeba61655fee432afe42e66ff72ea3 (diff)
downloadbitcoin-facec1c643105d0ae74b5d32cf33d593f9e82a36.tar.xz
wallet: Avoid showing GUI popups on RPC errors
Diffstat (limited to 'src/interfaces/node.h')
-rw-r--r--src/interfaces/node.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/node.h b/src/interfaces/node.h
index 688ff434ba..4ee467014c 100644
--- a/src/interfaces/node.h
+++ b/src/interfaces/node.h
@@ -200,10 +200,10 @@ public:
//! Attempts to load a wallet from file or directory.
//! The loaded wallet is also notified to handlers previously registered
//! with handleLoadWallet.
- virtual std::unique_ptr<Wallet> loadWallet(const std::string& name, std::string& error, std::string& warning) = 0;
+ virtual std::unique_ptr<Wallet> loadWallet(const std::string& name, std::string& error, std::vector<std::string>& warnings) = 0;
//! Create a wallet from file
- virtual WalletCreationStatus createWallet(const SecureString& passphrase, uint64_t wallet_creation_flags, const std::string& name, std::string& error, std::string& warning, std::unique_ptr<Wallet>& result) = 0;
+ virtual WalletCreationStatus createWallet(const SecureString& passphrase, uint64_t wallet_creation_flags, const std::string& name, std::string& error, std::vector<std::string>& warnings, std::unique_ptr<Wallet>& result) = 0;
//! Register handler for init messages.
using InitMessageFn = std::function<void(const std::string& message)>;