Skip to content

Commit 5e151a8

Browse files
paveljanikMarcoFalke
authored andcommitted
PartitionCheck: remove useless spaces
1 parent fad0088 commit 5e151a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,8 +1945,8 @@ void PartitionCheck(bool (*initialDownloadCheck)(), CCriticalSection& cs, const
19451945
// How likely is it to find that many by chance?
19461946
double p = boost::math::pdf(poisson, nBlocks);
19471947

1948-
LogPrint("partitioncheck", "%s : Found %d blocks in the last %d hours\n", __func__, nBlocks, SPAN_HOURS);
1949-
LogPrint("partitioncheck", "%s : likelihood: %g\n", __func__, p);
1948+
LogPrint("partitioncheck", "%s: Found %d blocks in the last %d hours\n", __func__, nBlocks, SPAN_HOURS);
1949+
LogPrint("partitioncheck", "%s: likelihood: %g\n", __func__, p);
19501950

19511951
// Aim for one false-positive about every fifty years of normal running:
19521952
const int FIFTY_YEARS = 50*365*24*60*60;
@@ -3047,7 +3047,7 @@ bool ContextualCheckBlockHeader(const CBlockHeader& block, CValidationState& sta
30473047

30483048
// Reject block.nVersion=2 blocks when 95% (75% on testnet) of the network has upgraded:
30493049
if (block.nVersion < 3 && IsSuperMajority(3, pindexPrev, consensusParams.nMajorityRejectBlockOutdated, consensusParams))
3050-
return state.Invalid(error("%s : rejected nVersion=2 block", __func__),
3050+
return state.Invalid(error("%s: rejected nVersion=2 block", __func__),
30513051
REJECT_OBSOLETE, "bad-version");
30523052

30533053
// Reject block.nVersion=3 blocks when 95% (75% on testnet) of the network has upgraded:

0 commit comments

Comments
 (0)