[C#] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / c_sharp / src / org / ldk / structs / Result_UpdateFeeDecodeErrorZ.cs
index f63de2eb338466a98ee3a7d176b06c26be980e84..5345c4d8792a806dfe077734fff423a4f5c9846f 100644 (file)
@@ -42,7 +42,7 @@ public class Result_UpdateFeeDecodeErrorZ : CommonBase {
         * Creates a new CResult_UpdateFeeDecodeErrorZ in the success state.
         */
        public static Result_UpdateFeeDecodeErrorZ ok(org.ldk.structs.UpdateFee o) {
-               long ret = bindings.CResult_UpdateFeeDecodeErrorZ_ok(o == null ? 0 : o.ptr);
+               long ret = bindings.CResult_UpdateFeeDecodeErrorZ_ok(o.ptr);
                GC.KeepAlive(o);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_UpdateFeeDecodeErrorZ ret_hu_conv = Result_UpdateFeeDecodeErrorZ.constr_from_ptr(ret);
@@ -58,6 +58,7 @@ public class Result_UpdateFeeDecodeErrorZ : CommonBase {
                GC.KeepAlive(e);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_UpdateFeeDecodeErrorZ ret_hu_conv = Result_UpdateFeeDecodeErrorZ.constr_from_ptr(ret);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(e); };
                return ret_hu_conv;
        }