Code Smell 167 - Hashing Comparison
TL;DR: If you check for the hash, you should also check for equality
Problems
Bijection fault
Solutions
Check for hash (fast) and then check for Equality (slow)
Context
On 2022 Oct 7th one of the larger blockchains had to be halted.
This news wa...
maximilianocontieri.com2 min read