Update auto-generated bindings
[ldk-java] / ts / structs / HTLCFailChannelUpdate.ts
index 5f76a0df4ef156d0a33c33360fa067e27b950776..b89c14622ff4f5af312ea9b3c1068a6dd4774c4b 100644 (file)
@@ -50,4 +50,12 @@ export class NodeFailure extends HTLCFailChannelUpdate {
                this.node_id = obj.node_id;
                this.is_permanent = obj.is_permanent;
        }
+}
+       public HTLCFailChannelUpdate clone() {
+               number ret = bindings.HTLCFailChannelUpdate_clone(this.ptr);
+               HTLCFailChannelUpdate ret_hu_conv = HTLCFailChannelUpdate.constr_from_ptr(ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
 }