diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-10-25 09:17:27 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-10-25 09:12:15 -0400 |
commit | fa398091b7ad683dfd3cd3c2cd030eaf9f336737 (patch) | |
tree | 97d6a2526bfa7758c15c741e4dec0d62686b1db6 /src/interfaces/node.cpp | |
parent | fce7c7542234ba3eea05a334b01810d28441eaf2 (diff) | |
download | bitcoin-fa398091b7ad683dfd3cd3c2cd030eaf9f336737.tar.xz |
Avoid unused call to GuessVerificationProgress in NotifyHeaderTip
Diffstat (limited to 'src/interfaces/node.cpp')
-rw-r--r-- | src/interfaces/node.cpp | 2 |
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; |