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