Shortened Transaction equals and hashcode