Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / ChannelUpdate.java
index f55325ae9916f9a7f323d80f75deace3d99283e4..66d4ed0c5ea05fe657c8582429df4e530be5c6dc 100644 (file)
@@ -50,7 +50,6 @@ public class ChannelUpdate extends CommonBase {
         */
        public void set_contents(UnsignedChannelUpdate val) {
                bindings.ChannelUpdate_set_contents(this.ptr, val == null ? 0 : val.ptr & ~1);
-               this.ptrs_to.add(val);
        }
 
        /**
@@ -61,7 +60,6 @@ public class ChannelUpdate extends CommonBase {
                if (ret < 1024) { return null; }
                ChannelUpdate ret_hu_conv = 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;
        }