aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2023-10-01 19:30:17 +0200
committerselsta <selsta@sent.at>2023-10-01 20:56:31 +0200
commit03d51b7cc453e6dda56d12f8a3a1aaf3cafc3c95 (patch)
treebdd8ed707e335f813c5f6944e85db113dcd87a4a /src/wallet/wallet_rpc_server.cpp
parentMerge pull request #8988 (diff)
downloadmonero-03d51b7cc453e6dda56d12f8a3a1aaf3cafc3c95.tar.xz
wallet2: fix refresh function parameters
max_blocks is last on master branch
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r--src/wallet/wallet_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index f08ae82d6..cecd79368 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -154,7 +154,7 @@ namespace tools
uint64_t blocks_fetched = 0;
try {
bool received_money = false;
- if (m_wallet) m_wallet->refresh(m_wallet->is_trusted_daemon(), 0, blocks_fetched, received_money, true, REFRESH_INFICATIVE_BLOCK_CHUNK_SIZE, true);
+ if (m_wallet) m_wallet->refresh(m_wallet->is_trusted_daemon(), 0, blocks_fetched, received_money, true, true, REFRESH_INFICATIVE_BLOCK_CHUNK_SIZE);
} catch (const std::exception& ex) {
LOG_ERROR("Exception at while refreshing, what=" << ex.what());
}