mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
doc: Clarify waitTipChanged docs
It should be obvious that a wait is not needed if the tip does not match. Also, remove a comment that the blockTip notification was only meant for the "UI". (It is used by other stuff for a long time)
This commit is contained in:
parent
fc642c33ef
commit
fa4c075033
2 changed files with 1 additions and 3 deletions
|
|
@ -3533,7 +3533,6 @@ bool Chainstate::ActivateBestChain(BlockValidationState& state, std::shared_ptr<
|
|||
m_chainman.m_options.signals->UpdatedBlockTip(pindexNewTip, pindexFork, still_in_ibd);
|
||||
}
|
||||
|
||||
// Always notify the UI if a new block tip was connected
|
||||
if (kernel::IsInterrupted(m_chainman.GetNotifications().blockTip(GetSynchronizationState(still_in_ibd, m_chainman.m_blockman.m_blockfiles_indexed), *pindexNewTip))) {
|
||||
// Just breaking and returning success for now. This could
|
||||
// be changed to bubble up the kernel::Interrupted value to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue