X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_NoneLightningErrorZ.ts;fp=ts%2Fstructs%2FResult_NoneLightningErrorZ.ts;h=510af04e59fbd30db9787c873ec7317db362c363;hb=fed2245c60159f6c074c9ed5c0f3ce273ad9841b;hp=13d3735b9d4dae2414e25ab8a0d5fa42de61547e;hpb=e9c2970adecaa14b3e83e11eb160a7bcbdae20da;p=ldk-java diff --git a/ts/structs/Result_NoneLightningErrorZ.ts b/ts/structs/Result_NoneLightningErrorZ.ts index 13d3735b..510af04e 100644 --- a/ts/structs/Result_NoneLightningErrorZ.ts +++ b/ts/structs/Result_NoneLightningErrorZ.ts @@ -30,6 +30,7 @@ public class Result_NoneLightningErrorZ extends CommonBase { super(_dummy, ptr); number err = bindings.LDKCResult_NoneLightningErrorZ_get_err(ptr); const err_hu_conv: LightningError = new LightningError(null, err); + err_hu_conv.ptrs_to.add(this); this.err = err_hu_conv; } public Result_NoneLightningErrorZ_Err(LightningError err) {