From fa398091b7ad683dfd3cd3c2cd030eaf9f336737 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Fri, 25 Oct 2019 09:17:27 -0400 Subject: Avoid unused call to GuessVerificationProgress in NotifyHeaderTip --- src/interfaces/node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interfaces/node.cpp') diff --git a/src/interfaces/node.cpp b/src/interfaces/node.cpp index 227ac9f7b9..6577895d50 100644 --- a/src/interfaces/node.cpp +++ b/src/interfaces/node.cpp @@ -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; -- cgit v1.2.3