simplewallet: init trusted daemon flag to false when autodetecting

This commit is contained in:
moneromooo-monero 2018-06-23 09:53:09 +01:00
parent b323d90f67
commit 0429cabefd
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 0 deletions

View File

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