Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eth/tracers/logger: remove unnecessary comparisons in accessList.equal (
ethereum#24663) This change removes extraneous/unnecessary checks for equality when comparing 2 accessList values A and B. Given that we validate that their lengths of A and B are equal, if so and if every element in A is in B, reflexively every element in B is already in A. If that weren't the case and an element g existed in A but not in B, that would mean that there is an extra element and hence a mathematical contradiction. Fixes ethereum#24658
- Loading branch information