wallet2: fix refresh function parameters

max_blocks is last on master branch
This commit is contained in:
selsta 2023-10-01 19:30:17 +02:00
parent 533bbc3208
commit 03d51b7cc4
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E
3 changed files with 3 additions and 3 deletions

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());
}