mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Avoid unused call to GuessVerificationProgress in NotifyHeaderTip
This commit is contained in:
parent
fce7c75422
commit
fa398091b7
1 changed files with 1 additions and 1 deletions
|
|
@ -312,7 +312,7 @@ public:
|
||||||
return MakeHandler(
|
return MakeHandler(
|
||||||
::uiInterface.NotifyHeaderTip_connect([fn](bool initial_download, const CBlockIndex* block) {
|
::uiInterface.NotifyHeaderTip_connect([fn](bool initial_download, const CBlockIndex* block) {
|
||||||
fn(initial_download, block->nHeight, block->GetBlockTime(),
|
fn(initial_download, block->nHeight, block->GetBlockTime(),
|
||||||
GuessVerificationProgress(Params().TxData(), block));
|
/* verification progress is unused when a header was received */ 0);
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
InitInterfaces m_interfaces;
|
InitInterfaces m_interfaces;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue