From 27d551d12f8ddfe237571cded4d9ad040e40742f Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Mon, 13 Apr 2020 18:33:14 +0000 Subject: 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. --- src/simplewallet/simplewallet.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/simplewallet/simplewallet.h') 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 &args); bool locked_transfer(const std::vector &args); bool locked_sweep_all(const std::vector &args); - bool sweep_main(uint64_t below, bool locked, const std::vector &args); + bool sweep_main(uint32_t account, uint64_t below, bool locked, const std::vector &args); bool sweep_all(const std::vector &args); + bool sweep_account(const std::vector &args); bool sweep_below(const std::vector &args); bool sweep_single(const std::vector &args); bool sweep_unmixable(const std::vector &args); -- cgit v1.2.3