aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-01-31 10:37:54 +0900
committerstoffu <stoffu@protonmail.ch>2018-02-08 08:02:12 +0900
commit214d251c48f66e9ba125b27d5313a3608063f4cb (patch)
treeca3836adc66f3198133069633222bb8ed1069aed /src/wallet/wallet_rpc_server.cpp
parentMerge pull request #3198 (diff)
downloadmonero-214d251c48f66e9ba125b27d5313a3608063f4cb.tar.xz
wallet: suggest the use of sweep_unmixable when not_enough_outs_to_mix is thrown
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index 97faf0b56..11067ee2c 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -2425,7 +2425,7 @@ namespace tools
catch (const tools::error::not_enough_outs_to_mix& e)
{
er.code = WALLET_RPC_ERROR_CODE_NOT_ENOUGH_OUTS_TO_MIX;
- er.message = e.what();
+ er.message = e.what() + std::string(" Please use sweep_dust.");
}
catch (const error::file_exists& e)
{