aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2017-06-20 08:36:20 +0900
committerstoffu <stoffu@protonmail.ch>2017-06-22 18:11:20 +0900
commitd5f1cef73c8269ab3c731616e351c32e16a2ec30 (patch)
tree22b22b4e12aa039c588d6d2d04cbdd35aa542119
parentsimplewallet: replace assert(m_wallet) with error out (diff)
downloadmonero-d5f1cef73c8269ab3c731616e351c32e16a2ec30.tar.xz
simplewallet: removed unneeded LOCK_IDLE_SCOPE() from check_tx_key()
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index dc3e3ebe1..4d53f063e 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -3355,8 +3355,6 @@ bool simple_wallet::check_tx_key(const std::vector<std::string> &args_)
}
crypto::hash txid = *reinterpret_cast<const crypto::hash*>(txid_data.data());
- LOCK_IDLE_SCOPE();
-
if (local_args[1].size() < 64 || local_args[1].size() % 64)
{
fail_msg_writer() << tr("failed to parse tx key");