mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
Merge pull request #6222
a6a2ad6c
simplewallet: set manual refresh mode in rescan_bc (moneromooo-monero)
This commit is contained in:
commit
ea6396ea66
1 changed files with 2 additions and 0 deletions
|
@ -8820,6 +8820,8 @@ bool simple_wallet::rescan_blockchain(const std::vector<std::string> &args_)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_in_manual_refresh.store(true, std::memory_order_relaxed);
|
||||||
|
epee::misc_utils::auto_scope_leave_caller scope_exit_handler = epee::misc_utils::create_scope_leave_handler([&](){m_in_manual_refresh.store(false, std::memory_order_relaxed);});
|
||||||
return refresh_main(start_height, reset_type, true);
|
return refresh_main(start_height, reset_type, true);
|
||||||
}
|
}
|
||||||
//----------------------------------------------------------------------------------------------------
|
//----------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue