mirror of
https://github.com/gosticks/iota.lib.java.git
synced 2026-08-22 08:50:28 +00:00
fixed value in trx object
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user