aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-07-03 15:21:27 +0200
committerRiccardo Spagni <ric@spagni.net>2018-07-03 15:21:27 +0200
commit82c39355ac0f4a583757cb476136edc42f443740 (patch)
treed3c4981d77660ec56b2c2c1bcee1d51660deb6ec
parentMerge pull request #4041 (diff)
parentsimplewallet: init trusted daemon flag to false when autodetecting (diff)
downloadmonero-82c39355ac0f4a583757cb476136edc42f443740.tar.xz
Merge pull request #4042
9d7f6e60 simplewallet: init trusted daemon flag to false when autodetecting (moneromooo-monero)
-rw-r--r--src/simplewallet/simplewallet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 0b2d072d6..16866a80d 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -3234,6 +3234,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"));