[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / RevocationKey.cs
index 9fe538dcb7f510e64723f3fcc5e42912b4591a98..f57166a7f63eacfeb8fec2be1c3c2851b0940cd3 100644 (file)
@@ -54,7 +54,7 @@ public class RevocationKey : CommonBase {
         * Two objects with NULL inner values will be considered "equal" here.
         */
        public bool eq(org.ldk.structs.RevocationKey b) {
-               bool ret = bindings.RevocationKey_eq(this.ptr, b == null ? 0 : b.ptr);
+               bool ret = bindings.RevocationKey_eq(this.ptr, b.ptr);
                GC.KeepAlive(this);
                GC.KeepAlive(b);
                if (this != null) { this.ptrs_to.AddLast(b); };
@@ -107,7 +107,7 @@ public class RevocationKey : CommonBase {
         * [`chan_utils::derive_private_revocation_key`]: crate::ln::chan_utils::derive_private_revocation_key
         */
        public static RevocationKey from_basepoint(org.ldk.structs.RevocationBasepoint countersignatory_basepoint, byte[] per_commitment_point) {
-               long ret = bindings.RevocationKey_from_basepoint(countersignatory_basepoint == null ? 0 : countersignatory_basepoint.ptr, InternalUtils.encodeUint8Array(InternalUtils.check_arr_len(per_commitment_point, 33)));
+               long ret = bindings.RevocationKey_from_basepoint(countersignatory_basepoint.ptr, InternalUtils.encodeUint8Array(InternalUtils.check_arr_len(per_commitment_point, 33)));
                GC.KeepAlive(countersignatory_basepoint);
                GC.KeepAlive(per_commitment_point);
                if (ret >= 0 && ret <= 4096) { return null; }