|
|
@ -1300,7 +1300,7 @@ UniValue getblockchaininfo(const UniValue& params, bool fHelp) |
|
|
|
LOCK(cs_main); |
|
|
|
double progress; |
|
|
|
if ( ASSETCHAINS_SYMBOL[0] == 0 ) { |
|
|
|
progress = Checkpoints::GuessVerificationProgress(Params.Checkpoints(), chainActive.LastTip()); |
|
|
|
progress = Checkpoints::GuessVerificationProgress(Params().Checkpoints(), chainActive.LastTip()); |
|
|
|
} else { |
|
|
|
int32_t longestchain = komodo_longestchain(); |
|
|
|
progress = (longestchain > 0 ) ? (double) chainActive.Height() / longestchain : 1.0; |
|
|
|