Update auto-generated bindings
[ldk-java] / ts / structs / ChannelUpdate.ts
index 61c2af4eb5f55718f99037bba7a198e460dcfded..a7a09748fdfe2abde4f46c74b107ccb63be94833 100644 (file)
@@ -36,14 +36,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_contents(UnsignedChannelUpdate val) {
                bindings.ChannelUpdate_set_contents(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static ChannelUpdate constructor_new(Uint8Array signature_arg, UnsignedChannelUpdate contents_arg) {
                number ret = bindings.ChannelUpdate_new(signature_arg, contents_arg == null ? 0 : contents_arg.ptr & ~1);
                const ret_hu_conv: ChannelUpdate = new ChannelUpdate(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(contents_arg);
                return ret_hu_conv;
        }