Skip to content

Commit

Permalink
simplewallet: fix refresh_main by setting max_blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
selsta committed Oct 1, 2023
1 parent f29a3d4 commit 6a57e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simplewallet/simplewallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5610,7 +5610,7 @@ bool simple_wallet::refresh_main(uint64_t start_height, enum ResetType reset, bo
// For manual refresh don't allow incremental checking of the pool: Because we did not process the txs
// for us in the pool during automatic refresh we could miss some of them if we checked the pool
// incrementally here
m_wallet->refresh(m_wallet->is_trusted_daemon(), start_height, fetched_blocks, received_money, true, false);
m_wallet->refresh(m_wallet->is_trusted_daemon(), start_height, fetched_blocks, received_money, true, std::numeric_limits<uint64_t>::max(), false);

if (reset == ResetSoftKeepKI)
{
Expand Down

0 comments on commit 6a57e99

Please sign in to comment.