mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-24 22:58:32 +01:00
ECKey violates the equals/hashCode contract for Java objects. Objects that are equivalent via the equals method, _must_ have the same hash code. This is not the case for ECKeys when comparing the compressed and uncompressed forms of a public key. The implementation of the `equals` method defines these objects to be equivalent, but the hashCode method defined them to be distinct! Original implementation comes from commit |
||
---|---|---|
.. | ||
src | ||
findbugs.xml | ||
pom.xml |