X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_NoneLightningErrorZ.ts;h=510af04e59fbd30db9787c873ec7317db362c363;hb=9f23b35fcea4857035bca01adc3c30bac367239e;hp=13d3735b9d4dae2414e25ab8a0d5fa42de61547e;hpb=22f5f4208b1f3b5542292250f1612b944f5cd7fd;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) {