Fix progress estimate for HUSH at startup
This commit is contained in:
@@ -5960,7 +5960,7 @@ bool static LoadBlockIndexDB()
|
|||||||
PruneBlockIndexCandidates();
|
PruneBlockIndexCandidates();
|
||||||
|
|
||||||
double progress;
|
double progress;
|
||||||
if ( SMART_CHAIN_SYMBOL[0] == 0 ) {
|
if ( ishush3 ) {
|
||||||
progress = Checkpoints::GuessVerificationProgress(chainparams.Checkpoints(), chainActive.LastTip());
|
progress = Checkpoints::GuessVerificationProgress(chainparams.Checkpoints(), chainActive.LastTip());
|
||||||
} else {
|
} else {
|
||||||
int32_t longestchain = hush_longestchain();
|
int32_t longestchain = hush_longestchain();
|
||||||
|
|||||||
Reference in New Issue
Block a user