aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-08-15 17:38:36 -0500
committerluigi1111 <luigi1111w@gmail.com>2018-08-15 17:38:36 -0500
commit2102e6c738b7bbe56b74cbf49cb47eda26bb58be (patch)
treeda6a78050d0dd5ac3fd802e4548d2b1748695a33
parentMerge pull request #4171 (diff)
parentsimplewallet.unspent_outputs: fix wrong logic for parsing (diff)
downloadmonero-2102e6c738b7bbe56b74cbf49cb47eda26bb58be.tar.xz
Merge pull request #4172
3a4c3ac simplewallet.unspent_outputs: fix wrong logic for parsing (stoffu)
-rw-r--r--src/simplewallet/simplewallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp
index bb8ae6517..9b564bc62 100644
--- a/src/simplewallet/simplewallet.cpp
+++ b/src/simplewallet/simplewallet.cpp
@@ -6476,7 +6476,7 @@ bool simple_wallet::unspent_outputs(const std::vector<std::string> &args_)
auto local_args = args_;
std::set<uint32_t> subaddr_indices;
- if (local_args.size() > 0 && local_args[0].substr(0, 6) != "index=")
+ if (local_args.size() > 0 && local_args[0].substr(0, 6) == "index=")
{
if (!parse_subaddress_indices(local_args[0], subaddr_indices))
return true;