From 80ec167605b0d7c6e84ef77966bcfc4f0f314371 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 3 Jul 2017 09:53:09 +0300 Subject: [PATCH] Test --- src/policy/fees.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/policy/fees.cpp b/src/policy/fees.cpp index 7762a4dc6..d4965a9b5 100644 --- a/src/policy/fees.cpp +++ b/src/policy/fees.cpp @@ -55,13 +55,14 @@ void TxConfirmStats::ClearCurrent(unsigned int nBlockHeight) unsigned int TxConfirmStats::FindBucketIndex(double val) { + extern char ASSETCHAINS_SYMBOL[]; auto it = bucketMap.lower_bound(val); //assert(it != bucketMap.end()); if ( it != bucketMap.end() ) { static uint32_t counter; if ( counter++ < 10 ) - fprintf(stderr,"FindBucketIndex violation: from val %f\n",val); + fprintf(stderr,"%s FindBucketIndex violation: from val %f\n",ASSETCHAINS_SYMBOL,val); } return it->second; }