Skip to content

Commit 52070c8

Browse files
nbenoitlaanwj
authored andcommitted
Removed '()' where used without contents inside
This additional patch removes '()' from current function name in LogPrintf output.
1 parent 30c1db1 commit 52070c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2936,7 +2936,7 @@ bool static LoadBlockIndexDB()
29362936

29372937
// Check whether we have a transaction index
29382938
pblocktree->ReadFlag("txindex", fTxIndex);
2939-
LogPrintf("%s(): transaction index %s\n", __func__, fTxIndex ? "enabled" : "disabled");
2939+
LogPrintf("%s: transaction index %s\n", __func__, fTxIndex ? "enabled" : "disabled");
29402940

29412941
// Load pointer to end of best chain
29422942
BlockMap::iterator it = mapBlockIndex.find(pcoinsTip->GetBestBlock());
@@ -2946,7 +2946,7 @@ bool static LoadBlockIndexDB()
29462946

29472947
PruneBlockIndexCandidates();
29482948

2949-
LogPrintf("%s(): hashBestChain=%s height=%d date=%s progress=%f\n", __func__,
2949+
LogPrintf("%s: hashBestChain=%s height=%d date=%s progress=%f\n", __func__,
29502950
chainActive.Tip()->GetBlockHash().ToString(), chainActive.Height(),
29512951
DateTimeStrFormat("%Y-%m-%d %H:%M:%S", chainActive.Tip()->GetBlockTime()),
29522952
Checkpoints::GuessVerificationProgress(chainActive.Tip()));

0 commit comments

Comments
 (0)