aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorNicolas Benoit <[email protected]>2015-02-25 18:40:32 +0100
committerWladimir J. van der Laan <[email protected]>2015-04-20 13:29:21 +0200
commit52070c87fda663e1f074998fd95fa1dafff667f9 (patch)
treed1080604da54a25ae6e5f91e88212a38924025dd /src/main.cpp
parentReplaced current function names with __func__ in LogPrintf() calls. (diff)
downloaddiscoin-52070c87fda663e1f074998fd95fa1dafff667f9.tar.xz
discoin-52070c87fda663e1f074998fd95fa1dafff667f9.zip
Removed '()' where used without contents inside
This additional patch removes '()' from current function name in LogPrintf output.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 75738dace..c6a936c5c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2936,7 +2936,7 @@ bool static LoadBlockIndexDB()
// Check whether we have a transaction index
pblocktree->ReadFlag("txindex", fTxIndex);
- LogPrintf("%s(): transaction index %s\n", __func__, fTxIndex ? "enabled" : "disabled");
+ LogPrintf("%s: transaction index %s\n", __func__, fTxIndex ? "enabled" : "disabled");
// Load pointer to end of best chain
BlockMap::iterator it = mapBlockIndex.find(pcoinsTip->GetBestBlock());
@@ -2946,7 +2946,7 @@ bool static LoadBlockIndexDB()
PruneBlockIndexCandidates();
- LogPrintf("%s(): hashBestChain=%s height=%d date=%s progress=%f\n", __func__,
+ LogPrintf("%s: hashBestChain=%s height=%d date=%s progress=%f\n", __func__,
chainActive.Tip()->GetBlockHash().ToString(), chainActive.Height(),
DateTimeStrFormat("%Y-%m-%d %H:%M:%S", chainActive.Tip()->GetBlockTime()),
Checkpoints::GuessVerificationProgress(chainActive.Tip()));