Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / HTLCFailChannelUpdate.java
index 8638893080efd0bc6c43ea43f20bd1cd63c8c727..7ce939f9613ca9a5663ae75cc84c0b314e668eed 100644 (file)
@@ -61,4 +61,14 @@ public class HTLCFailChannelUpdate extends CommonBase {
                        this.is_permanent = obj.is_permanent;
                }
        }
+       /**
+        * Creates a copy of the HTLCFailChannelUpdate
+        */
+       public HTLCFailChannelUpdate clone() {
+               long 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;
+       }
+
 }