Skip to content

Conversation

@derrix060
Copy link
Contributor

The condition if !seen_log_ids.insert(info_log_id) was inverted.

HashSet::insert() returns:

  • true if the value was not previously in the set (first time seeing this log ID)
  • false if the value was already in the set (seen before)

Before: The warning was shown for every receipt with log ID 0, not just the first.
After: The warning is shown only once per unique log ID.

The condition if !seen_log_ids.insert(info_log_id) was inverted.

HashSet::insert() returns:
- true if the value was not previously in the set (first time seeing this log ID)
- false if the value was already in the set (seen before)

Before: The warning was shown for every receipt with log ID 0, not just the first.
After: The warning is shown only once per unique log ID.
@derrix060
Copy link
Contributor Author

any news?

@austinabell austinabell merged commit 373685f into boundless-xyz:main Sep 29, 2025
20 of 21 checks passed
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.

2 participants