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