aboutsummaryrefslogtreecommitdiff
path: root/src/simplewallet
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-02 20:56:53 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-02 20:56:53 +0000
commit347190716013369fbacb8726c892ec323d44d844 (patch)
tree1bc72a346a59c1f033d88da249818af9985d3a81 /src/simplewallet
parentsimplewallet: fix build (unqualified type not in current scope) (diff)
downloadmonero-347190716013369fbacb8726c892ec323d44d844.tar.xz
simplewallet: cleanup
Remove empty static function which was refactored, as well as leftover exception testing code.
Diffstat (limited to 'src/simplewallet')
-rw-r--r--src/simplewallet/simplewallet.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index b26d0ce11..694838010 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -890,10 +890,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))
@@ -4302,7 +4298,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())
{