diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-10-06 17:52:05 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-10-08 13:02:14 -0400 |
commit | facec1c643105d0ae74b5d32cf33d593f9e82a36 (patch) | |
tree | 70ddbd9cd41bb94a5667ec8ccc24c45b7ffe203f /src/dummywallet.cpp | |
parent | 94e6e9f38deeba61655fee432afe42e66ff72ea3 (diff) |
wallet: Avoid showing GUI popups on RPC errors
Diffstat (limited to 'src/dummywallet.cpp')
-rw-r--r-- | src/dummywallet.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dummywallet.cpp b/src/dummywallet.cpp index 126e3479f3..0edcb0286d 100644 --- a/src/dummywallet.cpp +++ b/src/dummywallet.cpp @@ -2,7 +2,6 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include <stdio.h> #include <util/system.h> #include <walletinitinterface.h> #include <support/allocators/secure.h> @@ -71,12 +70,12 @@ std::vector<std::shared_ptr<CWallet>> GetWallets() throw std::logic_error("Wallet function called in non-wallet build."); } -std::shared_ptr<CWallet> LoadWallet(interfaces::Chain& chain, const std::string& name, std::string& error, std::string& warning) +std::shared_ptr<CWallet> LoadWallet(interfaces::Chain& chain, const std::string& name, std::string& error, std::vector<std::string>& warnings) { throw std::logic_error("Wallet function called in non-wallet build."); } -WalletCreationStatus CreateWallet(interfaces::Chain& chain, const SecureString& passphrase, uint64_t wallet_creation_flags, const std::string& name, std::string& error, std::string& warning, std::shared_ptr<CWallet>& result) +WalletCreationStatus CreateWallet(interfaces::Chain& chain, const SecureString& passphrase, uint64_t wallet_creation_flags, const std::string& name, std::string& error, std::vector<std::string>& warnings, std::shared_ptr<CWallet>& result) { throw std::logic_error("Wallet function called in non-wallet build."); } |