X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FResult_HTLCUpdateDecodeErrorZ.cs;fp=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FResult_HTLCUpdateDecodeErrorZ.cs;h=94fac24e5d2fbdbda0bca8e6ba7bf484dc25a2ea;hb=c6777737ea14e7814b0fa7d6fe16536f31d4a82b;hp=23a1f2c78713eae69565f6c457ff4626f22ca0c1;hpb=ee72c84d4bf9e2404e02fe20155efb502ceaee1b;p=ldk-java diff --git a/c_sharp/src/org/ldk/structs/Result_HTLCUpdateDecodeErrorZ.cs b/c_sharp/src/org/ldk/structs/Result_HTLCUpdateDecodeErrorZ.cs index 23a1f2c7..94fac24e 100644 --- a/c_sharp/src/org/ldk/structs/Result_HTLCUpdateDecodeErrorZ.cs +++ b/c_sharp/src/org/ldk/structs/Result_HTLCUpdateDecodeErrorZ.cs @@ -58,6 +58,7 @@ public class Result_HTLCUpdateDecodeErrorZ : CommonBase { GC.KeepAlive(e); if (ret >= 0 && ret <= 4096) { return null; } Result_HTLCUpdateDecodeErrorZ ret_hu_conv = Result_HTLCUpdateDecodeErrorZ.constr_from_ptr(ret); + if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(e); }; return ret_hu_conv; }