wallet2: fix refresh function parameters

max_blocks is last on master branch
This commit is contained in:
selsta
2023-10-01 20:56:31 +02:00
parent 533bbc3208
commit 03d51b7cc4
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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());
}