Skip to content

Conversation

@hvlad
Copy link
Member

@hvlad hvlad commented May 4, 2025

No description provided.

@hvlad hvlad self-assigned this May 4, 2025
@hvlad hvlad requested a review from dyemanov May 4, 2025 09:31
@hvlad hvlad linked an issue May 4, 2025 that may be closed by this pull request
{
Sync sync(&m_sync_status, FB_FUNCTION);
getTransactionStatusBlock(header, blockNumber, sync);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be better to move Sync outside of the loop?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be unlocked before call of getTransactionStatusBlock() anyway.
mapInventoryPages() run once, no need to optimize it in this place, imho

@hvlad hvlad merged commit a20f9bb into master Jul 1, 2025
50 checks passed
hvlad added a commit that referenced this pull request Jul 1, 2025
* This should fix bug #8296 : Crash in TipCache::findStates

* Correction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash in TipCache::findStates

2 participants