X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=c_sharp%2Fsrc%2Forg%2Fldk%2Fstructs%2FResult_NoneAPIErrorZ.cs;h=a89d3eb0d294eb6175f83a2678d3e0e02b3a1d5b;hb=c6777737ea14e7814b0fa7d6fe16536f31d4a82b;hp=9ec27783a9bfea177129bac1d55320d8459a40b2;hpb=ee72c84d4bf9e2404e02fe20155efb502ceaee1b;p=ldk-java diff --git a/c_sharp/src/org/ldk/structs/Result_NoneAPIErrorZ.cs b/c_sharp/src/org/ldk/structs/Result_NoneAPIErrorZ.cs index 9ec27783..a89d3eb0 100644 --- a/c_sharp/src/org/ldk/structs/Result_NoneAPIErrorZ.cs +++ b/c_sharp/src/org/ldk/structs/Result_NoneAPIErrorZ.cs @@ -51,6 +51,7 @@ public class Result_NoneAPIErrorZ : CommonBase { GC.KeepAlive(e); if (ret >= 0 && ret <= 4096) { return null; } Result_NoneAPIErrorZ ret_hu_conv = Result_NoneAPIErrorZ.constr_from_ptr(ret); + if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(e); }; return ret_hu_conv; }