Update auto-generated bindings
[ldk-java] / ts / structs / UpdateFailMalformedHTLC.ts
index 6068882e57f1a79c7a80ccedb45c5b49401e780c..3b894fb18f3c2a60ea125349cf392511c7d19506 100644 (file)
@@ -24,7 +24,7 @@ import * as bindings from '../bindings' // TODO: figure out location
        }
 
        public void set_channel_id(Uint8Array val) {
-               bindings.UpdateFailMalformedHTLC_set_channel_id(this.ptr, val);
+               bindings.UpdateFailMalformedHTLC_set_channel_id(this.ptr, InternalUtils.check_arr_len(val, 32));
        }
 
        public number get_htlc_id() {
@@ -45,6 +45,11 @@ import * as bindings from '../bindings' // TODO: figure out location
                bindings.UpdateFailMalformedHTLC_set_failure_code(this.ptr, val);
        }
 
+       public number clone_ptr() {
+               number ret = bindings.UpdateFailMalformedHTLC_clone_ptr(this.ptr);
+               return ret;
+       }
+
        public UpdateFailMalformedHTLC clone() {
                number ret = bindings.UpdateFailMalformedHTLC_clone(this.ptr);
                const ret_hu_conv: UpdateFailMalformedHTLC = new UpdateFailMalformedHTLC(null, ret);