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