mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Merge ea53568a06 into merged_master (Bitcoin PR bitcoin/bitcoin#31393)
This commit is contained in:
commit
1d5f60cb85
5 changed files with 24 additions and 18 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue