aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/node.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-10-25 09:17:27 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-10-25 09:12:15 -0400
commitfa398091b7ad683dfd3cd3c2cd030eaf9f336737 (patch)
tree97d6a2526bfa7758c15c741e4dec0d62686b1db6 /src/interfaces/node.cpp
parentfce7c7542234ba3eea05a334b01810d28441eaf2 (diff)
downloadbitcoin-fa398091b7ad683dfd3cd3c2cd030eaf9f336737.tar.xz
Avoid unused call to GuessVerificationProgress in NotifyHeaderTip
Diffstat (limited to 'src/interfaces/node.cpp')
-rw-r--r--src/interfaces/node.cpp2
1 files changed, 1 insertions, 1 deletions
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;