formatting
This commit is contained in:
@@ -3964,8 +3964,8 @@ void static UpdateTip(CBlockIndex *pindexNew) {
|
|||||||
if ( ASSETCHAINS_SYMBOL[0] == 0 ) {
|
if ( ASSETCHAINS_SYMBOL[0] == 0 ) {
|
||||||
progress = Checkpoints::GuessVerificationProgress(chainParams.Checkpoints(), chainActive.LastTip());
|
progress = Checkpoints::GuessVerificationProgress(chainParams.Checkpoints(), chainActive.LastTip());
|
||||||
} else {
|
} else {
|
||||||
int32_t longestchain = komodo_longestchain();
|
int32_t longestchain = komodo_longestchain();
|
||||||
progress = (longestchain > 0 ) ? (double) chainActive.Height() / longestchain : 1.0;
|
progress = (longestchain > 0 ) ? (double) chainActive.Height() / longestchain : 1.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
LogPrintf("%s: new best=%s height=%d log2_work=%.8g tx=%lu date=%s progress=%f cache=%.1fMiB(%utx)\n", __func__,
|
LogPrintf("%s: new best=%s height=%d log2_work=%.8g tx=%lu date=%s progress=%f cache=%.1fMiB(%utx)\n", __func__,
|
||||||
|
|||||||
Reference in New Issue
Block a user