aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-07-19 11:49:09 +0200
committerRiccardo Spagni <ric@spagni.net>2017-07-19 11:49:09 +0200
commit999d4d83e9cef7723175b4a6b3ca2224aca3d14b (patch)
tree25633180133e24c2aa65d551beae2ddbfe65e7c2
parentMerge pull request #2131 (diff)
parentsimplewallet: lock idle scope when sweeping (diff)
downloadmonero-999d4d83e9cef7723175b4a6b3ca2224aca3d14b.tar.xz
Merge pull request #2135
5cea3552 simplewallet: lock idle scope when sweeping (moneromooo-monero)
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index 6d5ebc25a..c1f2d3495 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -2752,6 +2752,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