aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_errors.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-07-31 07:50:41 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-07 21:12:27 +0100
commit61770ec2dab6c959cf5c320eff49f3f4c01a30af (patch)
tree833d3421521dc416b9bf204a1c01ce744fcd084f /src/wallet/wallet_errors.h
parentMerge pull request #2225 (diff)
downloadmonero-61770ec2dab6c959cf5c320eff49f3f4c01a30af.tar.xz
change mixin to ring size in user visible places
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet_errors.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/wallet_errors.h b/src/wallet/wallet_errors.h
index 16807e045..2e5acc8cb 100644
--- a/src/wallet/wallet_errors.h
+++ b/src/wallet/wallet_errors.h
@@ -417,7 +417,7 @@ namespace tools
typedef std::unordered_map<uint64_t, uint64_t> scanty_outs_t;
explicit not_enough_outs_to_mix(std::string&& loc, const scanty_outs_t& scanty_outs, size_t mixin_count)
- : transfer_error(std::move(loc), "not enough outputs to mix")
+ : transfer_error(std::move(loc), "not enough outputs to use")
, m_scanty_outs(scanty_outs)
, m_mixin_count(mixin_count)
{
@@ -429,7 +429,7 @@ namespace tools
std::string to_string() const
{
std::ostringstream ss;
- ss << transfer_error::to_string() << ", mixin_count = " << m_mixin_count << ", scanty_outs:";
+ ss << transfer_error::to_string() << ", ring size = " << (m_mixin_count + 1) << ", scanty_outs:";
for (const auto& out: m_scanty_outs)
{
ss << '\n' << cryptonote::print_money(out.first) << " - " << out.second;