Avoid unused call to GuessVerificationProgress in NotifyHeaderTip

This commit is contained in:
MarcoFalke committed 2019-10-25 09:12:15 -04:00
1 parent fce7c75422
commit fa398091b7
1 file changed
+1 -1
+1 -1
View File
@@ -312,7 +312,7 @@ public:
return MakeHandler(
::uiInterface.NotifyHeaderTip_connect([fn](bool initial_download, const CBlockIndex* block) {
fn(initial_download, block->nHeight, block->GetBlockTime(),
GuessVerificationProgress(Params().TxData(), block));
/* verification progress is unused when a header was received */ 0);
}));
}
InitInterfaces m_interfaces;