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