Merge ea53568a06 into merged_master (Bitcoin PR bitcoin/bitcoin#31393)

This commit is contained in:
ivanlele 2026-04-09 10:08:37 +00:00
commit 1d5f60cb85
No known key found for this signature in database
5 changed files with 24 additions and 18 deletions

View file

@ -1983,8 +1983,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
if (tip_info) {
tip_info->block_height = chain_active_height;
tip_info->block_time = best_block_time;
tip_info->verification_progress = GuessVerificationProgress(&tip, chainman.GetParams().GetConsensus().nPowTargetSpacing);
tip_info->verification_progress = chainman.GuessVerificationProgress(&tip);
}
if (tip_info && chainman.m_best_header) {
tip_info->header_height = chainman.m_best_header->nHeight;