diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-08-15 17:38:36 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-08-15 17:38:36 -0500 |
commit | 2102e6c738b7bbe56b74cbf49cb47eda26bb58be (patch) | |
tree | da6a78050d0dd5ac3fd802e4548d2b1748695a33 /src/simplewallet/simplewallet.cpp | |
parent | Merge pull request #4171 (diff) | |
parent | simplewallet.unspent_outputs: fix wrong logic for parsing (diff) | |
download | monero-2102e6c738b7bbe56b74cbf49cb47eda26bb58be.tar.xz |
Merge pull request #4172
3a4c3ac simplewallet.unspent_outputs: fix wrong logic for parsing (stoffu)
Diffstat (limited to 'src/simplewallet/simplewallet.cpp')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 2 |
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; |