mirror of
https://github.com/monero-project/monero.git
synced 2024-12-13 20:06:32 +02:00
simplewallet: remove leftover command line refresh-type handling
This commit is contained in:
parent
96d0c0373e
commit
423c7fec9e
@ -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.reset(new tools::wallet2(testnet));
|
||||||
m_wallet->callback(this);
|
m_wallet->callback(this);
|
||||||
m_wallet->set_seed_language(mnemonic_language);
|
m_wallet->set_seed_language(mnemonic_language);
|
||||||
m_wallet->set_refresh_type(m_refresh_type);
|
|
||||||
|
|
||||||
crypto::secret_key recovery_val;
|
crypto::secret_key recovery_val;
|
||||||
try
|
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.reset(new tools::wallet2(testnet));
|
||||||
m_wallet->callback(this);
|
m_wallet->callback(this);
|
||||||
m_wallet->set_refresh_type(m_refresh_type);
|
|
||||||
|
|
||||||
try
|
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_file = wallet_file;
|
||||||
m_wallet.reset(new tools::wallet2(testnet));
|
m_wallet.reset(new tools::wallet2(testnet));
|
||||||
m_wallet->callback(this);
|
m_wallet->callback(this);
|
||||||
m_wallet->set_refresh_type(m_refresh_type);
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -230,8 +230,6 @@ namespace cryptonote
|
|||||||
std::string m_daemon_host;
|
std::string m_daemon_host;
|
||||||
int m_daemon_port;
|
int m_daemon_port;
|
||||||
|
|
||||||
tools::wallet2::RefreshType m_refresh_type;
|
|
||||||
|
|
||||||
epee::console_handlers_binder m_cmd_binder;
|
epee::console_handlers_binder m_cmd_binder;
|
||||||
|
|
||||||
std::unique_ptr<tools::wallet2> m_wallet;
|
std::unique_ptr<tools::wallet2> m_wallet;
|
||||||
|
Loading…
Reference in New Issue
Block a user