aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.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/api/wallet.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/api/wallet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
index 82948081e..4a318f60e 100644
--- a/src/wallet/api/wallet.cpp
+++ b/src/wallet/api/wallet.cpp
@@ -1198,6 +1198,7 @@ PendingTransaction *WalletImpl::createTransaction(const string &dst_addr, const
for (const std::pair<uint64_t, uint64_t> outs_for_amount : e.scanty_outs()) {
writer << "\n" << tr("output amount") << " = " << print_money(outs_for_amount.first) << ", " << tr("found outputs to use") << " = " << outs_for_amount.second;
}
+ writer << "\n" << tr("Please sweep unmixable outputs.");
m_errorString = writer.str();
m_status = Status_Error;
} catch (const tools::error::tx_not_constructed&) {