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