fixed value in trx object

This commit is contained in:
AZ
2016-12-29 08:46:27 +01:00
parent 6c2ec92a25
commit 7f09e45c08
3 changed files with 49 additions and 6 deletions
@@ -157,4 +157,12 @@ public class Transaction {
public void setPersistence(Boolean persistence) {
this.persistence = persistence;
}
public boolean equals(Object obj) {
if (obj == null) {
return false;
}
if (((Transaction) obj).getHash().equals(this.getHash())) return true;
return false;
}
}