From f76f656d55cd5f849073c8d5a86a8226ee0d858d Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Mon, 25 Jan 2016 08:29:49 +0000 Subject: [PATCH] simplewallet: remove leftover command line refresh-type handling --- src/simplewallet/simplewallet.cpp | 3 --- src/simplewallet/simplewallet.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 2484cd3a..053f1434 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -1020,7 +1020,6 @@ bool simple_wallet::new_wallet(const std::string &wallet_file, const std::string m_wallet.reset(new tools::wallet2(testnet)); m_wallet->callback(this); m_wallet->set_seed_language(mnemonic_language); - m_wallet->set_refresh_type(m_refresh_type); crypto::secret_key recovery_val; try @@ -1069,7 +1068,6 @@ bool simple_wallet::new_wallet(const std::string &wallet_file, const std::string m_wallet.reset(new tools::wallet2(testnet)); m_wallet->callback(this); - m_wallet->set_refresh_type(m_refresh_type); try { @@ -1100,7 +1098,6 @@ bool simple_wallet::open_wallet(const string &wallet_file, const std::string& pa m_wallet_file = wallet_file; m_wallet.reset(new tools::wallet2(testnet)); m_wallet->callback(this); - m_wallet->set_refresh_type(m_refresh_type); try { diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h index ec48680b..c2a8d229 100644 --- a/src/simplewallet/simplewallet.h +++ b/src/simplewallet/simplewallet.h @@ -230,8 +230,6 @@ namespace cryptonote std::string m_daemon_host; int m_daemon_port; - tools::wallet2::RefreshType m_refresh_type; - epee::console_handlers_binder m_cmd_binder; std::unique_ptr m_wallet;