simplewallet: init trusted daemon flag to false when autodetecting

release-v0.5.1
moneromooo-monero 6 years ago
parent 9a3712541e
commit 9d7f6e6089
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

@ -3245,6 +3245,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
{
try
{
m_trusted_daemon = false;
if (tools::is_local_address(m_wallet->get_daemon_address()))
{
MINFO(tr("Daemon is local, assuming trusted"));

Loading…
Cancel
Save