[C#] Update auto-generated C# bindings
[ldk-java] / c_sharp / src / org / ldk / structs / UpdateFulfillHTLC.cs
index 4177127e89f0bc0a38e60a77e5b34503b29bb650..d7c10a6b9ce36c7399e08780703bd536f91f244a 100644 (file)
@@ -107,6 +107,18 @@ public class UpdateFulfillHTLC : CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Generates a non-cryptographic 64-bit hash of the UpdateFulfillHTLC.
+        */
+       public long hash() {
+               long ret = bindings.UpdateFulfillHTLC_hash(this.ptr);
+               GC.KeepAlive(this);
+               return ret;
+       }
+
+       public override int GetHashCode() {
+               return (int)this.hash();
+       }
        /**
         * Checks if two UpdateFulfillHTLCs contain equal inner contents.
         * This ignores pointers and is_owned flags and looks at the values in fields.