X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_NetworkGraphDecodeErrorZ.ts;h=78921d4e155580809c06b25e44c8970bc00d1f5d;hb=276893d3b8bd3fcb2bb10e3cab73a69d34831909;hp=997a3638a167df67b336813b0aa96f0cb4787099;hpb=22f5f4208b1f3b5542292250f1612b944f5cd7fd;p=ldk-java diff --git a/ts/structs/Result_NetworkGraphDecodeErrorZ.ts b/ts/structs/Result_NetworkGraphDecodeErrorZ.ts index 997a3638..78921d4e 100644 --- a/ts/structs/Result_NetworkGraphDecodeErrorZ.ts +++ b/ts/structs/Result_NetworkGraphDecodeErrorZ.ts @@ -21,6 +21,7 @@ public class Result_NetworkGraphDecodeErrorZ extends CommonBase { super(_dummy, ptr); number res = bindings.LDKCResult_NetworkGraphDecodeErrorZ_get_ok(ptr); const res_hu_conv: NetworkGraph = new NetworkGraph(null, res); + res_hu_conv.ptrs_to.add(this); this.res = res_hu_conv; } public Result_NetworkGraphDecodeErrorZ_OK(NetworkGraph res) { @@ -35,6 +36,7 @@ public class Result_NetworkGraphDecodeErrorZ extends CommonBase { super(_dummy, ptr); number err = bindings.LDKCResult_NetworkGraphDecodeErrorZ_get_err(ptr); const err_hu_conv: DecodeError = new DecodeError(null, err); + err_hu_conv.ptrs_to.add(this); this.err = err_hu_conv; } public Result_NetworkGraphDecodeErrorZ_Err(DecodeError err) {