mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 23:42:24 +00:00
simplewallet: lock idle scope when sweeping
This ensures the chain and related structures can't change while we're using them
This commit is contained in:
parent
0c6ea4f8a6
commit
5cea355232
1 changed files with 2 additions and 0 deletions
|
@ -2751,6 +2751,8 @@ bool simple_wallet::sweep_main(uint64_t below, const std::vector<std::string> &a
|
|||
}
|
||||
}
|
||||
|
||||
LOCK_IDLE_SCOPE();
|
||||
|
||||
try
|
||||
{
|
||||
// figure out what tx will be necessary
|
||||
|
|
Loading…
Reference in a new issue