From b0c92e28dd7f6b05b5b00f3563eb88f3db6caf5d Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Thu, 28 Mar 2024 21:19:57 +0100 Subject: [PATCH] added more logs for generate_unique_reversed_distribution --- src/wallet/decoy_selection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/decoy_selection.cpp b/src/wallet/decoy_selection.cpp index 7a3c8d01..e9d24446 100644 --- a/src/wallet/decoy_selection.cpp +++ b/src/wallet/decoy_selection.cpp @@ -89,7 +89,7 @@ void decoy_selection_generator::generate_unique_reversed_distribution(uint64_t c { if (count + set_to_extend.size() > m_max) { - throw std::runtime_error("generate_distribution_set with unexpected count"); + throw std::runtime_error(std::string("generate_distribution_set with unexpected count=") + std::to_string(count) + ", set_to_extend.size() = " + std::to_string(set_to_extend.size()) + ", m_max: " + std::to_string(m_max)); } size_t attempt_count = 0;