mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-14 15:13:26 +01:00
simplewallet.unspent_outputs: fix wrong logic for parsing
This commit is contained in:
parent
702a41034d
commit
3a4c3ac891
@ -6401,7 +6401,7 @@ bool simple_wallet::unspent_outputs(const std::vector<std::string> &args_)
|
|||||||
auto local_args = args_;
|
auto local_args = args_;
|
||||||
|
|
||||||
std::set<uint32_t> subaddr_indices;
|
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))
|
if (!parse_subaddress_indices(local_args[0], subaddr_indices))
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user