X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FResult_ChannelReadyDecodeErrorZ.cs;fp=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FResult_ChannelReadyDecodeErrorZ.cs;h=0bbd1bc93805b403db6cd86a8e4f3e52d2044074;hb=592c64eb658d92e314a2b983cea16cecf3882474;hp=7161b609cca14e81c088f9d84495b8e9c0493e1c;hpb=12fdbefaac81d5b4be6bb67addd6dcd7c46a182b;p=ldk-java diff --git a/c_sharp/src/org/ldk/structs/Result_ChannelReadyDecodeErrorZ.cs b/c_sharp/src/org/ldk/structs/Result_ChannelReadyDecodeErrorZ.cs index 7161b609..0bbd1bc9 100644 --- a/c_sharp/src/org/ldk/structs/Result_ChannelReadyDecodeErrorZ.cs +++ b/c_sharp/src/org/ldk/structs/Result_ChannelReadyDecodeErrorZ.cs @@ -42,7 +42,7 @@ public class Result_ChannelReadyDecodeErrorZ : CommonBase { * Creates a new CResult_ChannelReadyDecodeErrorZ in the success state. */ public static Result_ChannelReadyDecodeErrorZ ok(org.ldk.structs.ChannelReady o) { - long ret = bindings.CResult_ChannelReadyDecodeErrorZ_ok(o == null ? 0 : o.ptr); + long ret = bindings.CResult_ChannelReadyDecodeErrorZ_ok(o.ptr); GC.KeepAlive(o); if (ret >= 0 && ret <= 4096) { return null; } Result_ChannelReadyDecodeErrorZ ret_hu_conv = Result_ChannelReadyDecodeErrorZ.constr_from_ptr(ret);