This commit is contained in:
AZ
2017-01-15 20:45:46 +01:00
parent 327c3bbf72
commit a27168dee0
22 changed files with 217 additions and 95 deletions
+1 -5
View File
@@ -159,11 +159,7 @@ public class Transaction {
}
public boolean equals(Object obj) {
if (obj == null) {
return false;
}
if (((Transaction) obj).getHash().equals(this.getHash())) return true;
return false;
return obj != null && ((Transaction) obj).getHash().equals(this.getHash());
}
}