Update auto-generated bindings
[ldk-java] / ts / structs / ChannelInfo.ts
index c86fe579a8e925f596288baeea053248eccf8f64..75971bafb25db4ae2386b2f8c2c3ee0bd5d7d5d3 100644 (file)
@@ -27,7 +27,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_features(ChannelFeatures val) {
                bindings.ChannelInfo_set_features(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public Uint8Array get_node_one() {
@@ -48,7 +47,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_one_to_two(DirectionalChannelInfo val) {
                bindings.ChannelInfo_set_one_to_two(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public Uint8Array get_node_two() {
@@ -69,7 +67,6 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_two_to_one(DirectionalChannelInfo val) {
                bindings.ChannelInfo_set_two_to_one(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public Option_u64Z get_capacity_sats() {
@@ -92,17 +89,12 @@ import * as bindings from '../bindings' // TODO: figure out location
 
        public void set_announcement_message(ChannelAnnouncement val) {
                bindings.ChannelInfo_set_announcement_message(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        public static ChannelInfo constructor_new(ChannelFeatures features_arg, Uint8Array node_one_arg, DirectionalChannelInfo one_to_two_arg, Uint8Array node_two_arg, DirectionalChannelInfo two_to_one_arg, Option_u64Z capacity_sats_arg, ChannelAnnouncement announcement_message_arg) {
                number ret = bindings.ChannelInfo_new(features_arg == null ? 0 : features_arg.ptr & ~1, node_one_arg, one_to_two_arg == null ? 0 : one_to_two_arg.ptr & ~1, node_two_arg, two_to_one_arg == null ? 0 : two_to_one_arg.ptr & ~1, capacity_sats_arg.ptr, announcement_message_arg == null ? 0 : announcement_message_arg.ptr & ~1);
                const ret_hu_conv: ChannelInfo = new ChannelInfo(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
-               ret_hu_conv.ptrs_to.add(features_arg);
-               ret_hu_conv.ptrs_to.add(one_to_two_arg);
-               ret_hu_conv.ptrs_to.add(two_to_one_arg);
-               ret_hu_conv.ptrs_to.add(announcement_message_arg);
                return ret_hu_conv;
        }