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