aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-06-27 16:30:38 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-06-27 16:30:38 -0500
commit8a27caeb22a05149a55d29842c07dcce552ad60e (patch)
tree84bae2d728602cefbbc721e7cc304d644990b370 /src/wallet/wallet_rpc_server.cpp
parentMerge pull request #3995 (diff)
parentwallet: on first refresh, start off with a quantized height (diff)
downloadmonero-8a27caeb22a05149a55d29842c07dcce552ad60e.tar.xz
Merge pull request #3998
8db23df wallet: on first refresh, start off with a quantized height (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r--src/wallet/wallet_rpc_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index 7f7d33642..7158e666c 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -104,7 +104,7 @@ namespace tools
m_stop = false;
m_net_server.add_idle_handler([this](){
try {
- if (m_wallet) m_wallet->refresh();
+ if (m_wallet) m_wallet->refresh(m_trusted_daemon);
} catch (const std::exception& ex) {
LOG_ERROR("Exception at while refreshing, what=" << ex.what());
}
@@ -3196,7 +3196,7 @@ int main(int argc, char** argv) {
wal->stop();
});
- wal->refresh();
+ wal->refresh(command_line::get_arg(*vm, arg_trusted_daemon));
// if we ^C during potentially length load/refresh, there's no server loop yet
if (quit)
{