Update auto-generated bindings
[ldk-java] / ts / structs / ChannelReestablish.ts
index 0be4b49dc82ccda0e51e6ed8860bf735258f7128..c39a2ec601001f436229c9c39a9c56d10bcb4c5e 100644 (file)
@@ -24,7 +24,7 @@ import * as bindings from '../bindings' // TODO: figure out location
        }
 
        public void set_channel_id(Uint8Array val) {
-               bindings.ChannelReestablish_set_channel_id(this.ptr, val);
+               bindings.ChannelReestablish_set_channel_id(this.ptr, InternalUtils.check_arr_len(val, 32));
        }
 
        public number get_next_local_commitment_number() {
@@ -45,6 +45,11 @@ import * as bindings from '../bindings' // TODO: figure out location
                bindings.ChannelReestablish_set_next_remote_commitment_number(this.ptr, val);
        }
 
+       public number clone_ptr() {
+               number ret = bindings.ChannelReestablish_clone_ptr(this.ptr);
+               return ret;
+       }
+
        public ChannelReestablish clone() {
                number ret = bindings.ChannelReestablish_clone(this.ptr);
                const ret_hu_conv: ChannelReestablish = new ChannelReestablish(null, ret);