Avoid unused call to GuessVerificationProgress in NotifyHeaderTip

This commit is contained in:
MarcoFalke
2019-10-25 09:17:27 -04:00
parent fce7c75422
commit fa398091b7

View File

@ -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;