diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-02-04 17:21:11 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-02-04 17:21:11 +0200 |
commit | bcb7b0a9affee5604a1cd0634f63d52506ebab6d (patch) | |
tree | e2950aa06ab514e481e4d446b6772961a1a4674c /src/simplewallet | |
parent | Merge pull request #1664 (diff) | |
parent | simplewallet: cleanup (diff) | |
download | monero-bcb7b0a9affee5604a1cd0634f63d52506ebab6d.tar.xz |
Merge pull request #1665
34719071 simplewallet: cleanup (moneromooo-monero)
a9a9b64b simplewallet: fix build (unqualified type not in current scope) (moneromooo-monero)
Diffstat (limited to 'src/simplewallet')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 049125268..a8f1d177f 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -388,7 +388,7 @@ bool simple_wallet::change_password(const std::vector<std::string> &args) m_wallet->rewrite(m_wallet_file, pwd_container->password()); m_wallet->store(); } - catch (const wallet_logic_error& e) + catch (const tools::error::wallet_logic_error& e) { fail_msg_writer() << tr("Error with wallet rewrite: ") << e.what(); return false; @@ -923,10 +923,6 @@ void simple_wallet::print_seed(std::string seed) std::cout << seed << std::endl; } //---------------------------------------------------------------------------------------------------- -static bool is_local_daemon(const std::string &address) -{ -} -//---------------------------------------------------------------------------------------------------- bool simple_wallet::init(const boost::program_options::variables_map& vm) { if (!handle_command_line(vm)) @@ -4344,7 +4340,6 @@ int main(int argc, char* argv[]) const bool r = w.init(*vm); CHECK_AND_ASSERT_MES(r, 1, sw::tr("Failed to initialize wallet")); -try{ throw 1; } catch(...){} std::vector<std::string> command = command_line::get_arg(*vm, arg_command); if (!command.empty()) { |