diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-04-13 18:33:14 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2020-04-14 15:06:46 +0000 |
commit | 27d551d12f8ddfe237571cded4d9ad040e40742f (patch) | |
tree | 387e97c2a720206b5ab1ae4ed39df5af98e2fab7 /src/simplewallet/simplewallet.h | |
parent | Merge pull request #6405 (diff) | |
download | monero-27d551d12f8ddfe237571cded4d9ad040e40742f.tar.xz |
simplewallet: add sweep_account command
Expects an account number, then the usual sweep_all options
Useful to move monero that was accidentally sent to a subaddress
with a very large account index.
Diffstat (limited to '')
-rw-r--r-- | src/simplewallet/simplewallet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/simplewallet/simplewallet.h b/src/simplewallet/simplewallet.h index 4ba2793e0..f45b77322 100644 --- a/src/simplewallet/simplewallet.h +++ b/src/simplewallet/simplewallet.h @@ -170,8 +170,9 @@ namespace cryptonote bool transfer(const std::vector<std::string> &args); bool locked_transfer(const std::vector<std::string> &args); bool locked_sweep_all(const std::vector<std::string> &args); - bool sweep_main(uint64_t below, bool locked, const std::vector<std::string> &args); + bool sweep_main(uint32_t account, uint64_t below, bool locked, const std::vector<std::string> &args); bool sweep_all(const std::vector<std::string> &args); + bool sweep_account(const std::vector<std::string> &args); bool sweep_below(const std::vector<std::string> &args); bool sweep_single(const std::vector<std::string> &args); bool sweep_unmixable(const std::vector<std::string> &args); |