diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-08-07 22:53:15 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-08-07 22:53:15 +0200 |
commit | bff9fb9c8b03d4b7191cdac48d3fe9e644a1ec4b (patch) | |
tree | 55f202725b55207eef21a57d85e3073a4797495e /src/wallet/wallet_errors.h | |
parent | Merge pull request #2262 (diff) | |
parent | change mixin to ring size in user visible places (diff) | |
download | monero-bff9fb9c8b03d4b7191cdac48d3fe9e644a1ec4b.tar.xz |
Merge pull request #2231
61770ec2 change mixin to ring size in user visible places (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet_errors.h')
-rw-r--r-- | src/wallet/wallet_errors.h | 4 |
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; |