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