X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FInit.ts;h=9b127bfcb42705bf2c47a7ebef6e5f0c37e18e3e;hb=9d146759e11191b55130be7a1b6988d3f289a168;hp=b8ca1522ccb2f4cfc6e7a79f9dd98d035aea6282;hpb=b9716bc7ee492882e4643c9365971fef3761989f;p=ldk-java diff --git a/ts/structs/Init.ts b/ts/structs/Init.ts index b8ca1522..9b127bfc 100644 --- a/ts/structs/Init.ts +++ b/ts/structs/Init.ts @@ -27,14 +27,12 @@ import * as bindings from '../bindings' // TODO: figure out location public void set_features(InitFeatures val) { bindings.Init_set_features(this.ptr, val == null ? 0 : val.ptr & ~1); - this.ptrs_to.add(val); } public static Init constructor_new(InitFeatures features_arg) { number ret = bindings.Init_new(features_arg == null ? 0 : features_arg.ptr & ~1); const ret_hu_conv: Init = new Init(null, ret); ret_hu_conv.ptrs_to.add(ret_hu_conv); - ret_hu_conv.ptrs_to.add(features_arg); return ret_hu_conv; }