mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
simplewallet: add privacy warning when using an untrusted demon
This commit is contained in:
parent
1f9058187c
commit
c34093db58
@ -1397,6 +1397,9 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
|
||||
}
|
||||
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_wallet->callback(this);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user