1
0
Fork 0
forked from lthn/blockchain

added more logs for generate_unique_reversed_distribution

This commit is contained in:
cryptozoidberg 2024-03-28 21:19:57 +01:00
parent 312d500a36
commit b0c92e28dd
No known key found for this signature in database
GPG key ID: 2E10CC61CAC8F36D

View file

@ -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;