Fixes GetHashCode to work with the Equals function to detect potential duplicates if payee OR memo is equal.
Two objects that are equal return hash codes that are equal. However, the reverse is not true: equal hash codes do not imply object equality, because different (unequal) objects can have identical hash codes.
Fixes
GetHashCode
to work with theEquals
function to detect potential duplicates if payee OR memo is equal.https://learn.microsoft.com/en-us/dotnet/api/system.object.gethashcode?view=net-7.0#remarks
Now two transactions return the same hashcode and the
Equals
function is used to determine whether they are potential duplicates.