[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / Result_PayeePubKeySecp256k1ErrorZ.cs
index e56a62c569888207743c59fa83cc785891681fc9..6cdfdd88018e55a7473ddd3b5214f8ce88f0b29c 100644 (file)
@@ -39,7 +39,7 @@ public class Result_PayeePubKeySecp256k1ErrorZ : CommonBase {
         * Creates a new CResult_PayeePubKeySecp256k1ErrorZ in the success state.
         */
        public static Result_PayeePubKeySecp256k1ErrorZ ok(org.ldk.structs.PayeePubKey o) {
-               long ret = bindings.CResult_PayeePubKeySecp256k1ErrorZ_ok(o == null ? 0 : o.ptr);
+               long ret = bindings.CResult_PayeePubKeySecp256k1ErrorZ_ok(o.ptr);
                GC.KeepAlive(o);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_PayeePubKeySecp256k1ErrorZ ret_hu_conv = Result_PayeePubKeySecp256k1ErrorZ.constr_from_ptr(ret);