Update auto-updated Java files
[ldk-java] / src / main / java / org / ldk / structs / OutPoint.java
index a181f35f2bed37b54ca9d0b051fa36646930472b..24790117d0251963ea99ca365480601d333e5221 100644 (file)
@@ -90,6 +90,10 @@ public class OutPoint extends CommonBase {
                return ret;
        }
 
+       @Override public boolean equals(Object o) {
+               if (!(o instanceof OutPoint)) return false;
+               return this.eq((OutPoint)o);
+       }
        /**
         * Checks if two OutPoints contain equal inner contents.
         */
@@ -98,6 +102,9 @@ public class OutPoint extends CommonBase {
                return ret;
        }
 
+       @Override public int hashCode() {
+               return (int)this.hash();
+       }
        /**
         * Convert an `OutPoint` to a lightning channel id.
         */