aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-02-04 17:21:11 +0200
committerRiccardo Spagni <ric@spagni.net>2017-02-04 17:21:11 +0200
commitbcb7b0a9affee5604a1cd0634f63d52506ebab6d (patch)
treee2950aa06ab514e481e4d446b6772961a1a4674c /src/simplewallet
parentMerge pull request #1664 (diff)
parentsimplewallet: cleanup (diff)
downloadmonero-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.cpp7
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())
{