[Java] Update auto-generated Java bindings to LDK 0.0.121
[ldk-java] / src / main / java / org / ldk / structs / ClosingSignedFeeRange.java
index 5f6ed3f5e0248d785ba2fb5de935515a44bc487d..3832b4c3c5f7d5f2f7a5581a4460ff0030c438ea 100644 (file)
@@ -94,6 +94,18 @@ public class ClosingSignedFeeRange extends CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Generates a non-cryptographic 64-bit hash of the ClosingSignedFeeRange.
+        */
+       public long hash() {
+               long ret = bindings.ClosingSignedFeeRange_hash(this.ptr);
+               Reference.reachabilityFence(this);
+               return ret;
+       }
+
+       @Override public int hashCode() {
+               return (int)this.hash();
+       }
        /**
         * Checks if two ClosingSignedFeeRanges contain equal inner contents.
         * This ignores pointers and is_owned flags and looks at the values in fields.