Bucket print

This commit is contained in:
jl777
2017-06-04 18:43:15 +03:00
parent 3a00ec3f23
commit 370fb42f6f

View File

@@ -56,7 +56,11 @@ void TxConfirmStats::ClearCurrent(unsigned int nBlockHeight)
unsigned int TxConfirmStats::FindBucketIndex(double val)
{
auto it = bucketMap.lower_bound(val);
assert(it != bucketMap.end());
//assert(it != bucketMap.end());
if ( it != bucketMap.end() )
{
printf("FindBucketIndex violation: %p != %p from val %f\n",it,bucketMap.end(),val);
}
return it->second;
}