mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-30 02:31:05 +02:00
Avoid unused call to GuessVerificationProgress in NotifyHeaderTip
This commit is contained in:
@ -312,7 +312,7 @@ public:
|
|||||||
return MakeHandler(
|
return MakeHandler(
|
||||||
::uiInterface.NotifyHeaderTip_connect([fn](bool initial_download, const CBlockIndex* block) {
|
::uiInterface.NotifyHeaderTip_connect([fn](bool initial_download, const CBlockIndex* block) {
|
||||||
fn(initial_download, block->nHeight, block->GetBlockTime(),
|
fn(initial_download, block->nHeight, block->GetBlockTime(),
|
||||||
GuessVerificationProgress(Params().TxData(), block));
|
/* verification progress is unused when a header was received */ 0);
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
InitInterfaces m_interfaces;
|
InitInterfaces m_interfaces;
|
||||||
|
Reference in New Issue
Block a user