Bucket print
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user