mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
Merge pull request #2515
c34093db
simplewallet: add privacy warning when using an untrusted demon (moneromooo-monero)
This commit is contained in:
commit
5f430cedd8
1 changed files with 3 additions and 0 deletions
|
@ -1426,6 +1426,9 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
|
||||||
}
|
}
|
||||||
catch (const std::exception &e) { }
|
catch (const std::exception &e) { }
|
||||||
|
|
||||||
|
if (!m_trusted_daemon)
|
||||||
|
message_writer() << (boost::format(tr("Warning: using an untrusted daemon at %s, privacy will be lessened")) % m_wallet->get_daemon_address()).str();
|
||||||
|
|
||||||
m_http_client.set_server(m_wallet->get_daemon_address(), m_wallet->get_daemon_login());
|
m_http_client.set_server(m_wallet->get_daemon_address(), m_wallet->get_daemon_login());
|
||||||
m_wallet->callback(this);
|
m_wallet->callback(this);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue