This commit is contained in:
jl777
2017-06-05 18:53:45 +03:00
parent 0b2c3fe620
commit 3e2ad201d2

View File

@@ -59,7 +59,9 @@ unsigned int TxConfirmStats::FindBucketIndex(double val)
//assert(it != bucketMap.end());
if ( it != bucketMap.end() )
{
fprintf(stderr,"FindBucketIndex violation: from val %f\n",val);
static uint32_t counter;
if ( counter++ < 10 )
fprintf(stderr,"FindBucketIndex violation: from val %f\n",val);
}
return it->second;
}