aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/simplewallet/simplewallet.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 937403c66..9c736aa03 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -1398,8 +1398,9 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
}
}
}
- m_wallet->set_refresh_from_block_height(m_restore_height);
}
+ if (m_restoring)
+ m_wallet->set_refresh_from_block_height(m_restore_height);
}
else
{