mirror of
https://github.com/monero-project/monero.git
synced 2026-01-22 12:24:30 +01: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user