Skip to content

Commit fa39809

Browse files
author
MarcoFalke
committed
Avoid unused call to GuessVerificationProgress in NotifyHeaderTip
1 parent fce7c75 commit fa39809

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ class NodeImpl : public Node
312312
return MakeHandler(
313313
::uiInterface.NotifyHeaderTip_connect([fn](bool initial_download, const CBlockIndex* block) {
314314
fn(initial_download, block->nHeight, block->GetBlockTime(),
315-
GuessVerificationProgress(Params().TxData(), block));
315+
/* verification progress is unused when a header was received */ 0);
316316
}));
317317
}
318318
InitInterfaces m_interfaces;

0 commit comments

Comments
 (0)