Merge pull request #3214

214d251c wallet: suggest the use of sweep_unmixable when not_enough_outs_to_mix is thrown (stoffu)
This commit is contained in:
Riccardo Spagni 2018-02-16 14:22:41 +01:00
commit 9c4428e583
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
3 changed files with 3 additions and 1 deletions

View file

@ -2442,7 +2442,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)
{