Update auto-generated bindings with new upstream.
[ldk-java] / src / main / java / org / ldk / structs / CommitmentUpdate.java
index c53eb4ebf3dcd2c29cf02de588287fded7058dd1..d6fdfa201655cd14e0ab1786b9c3d7f80ab3da16 100644 (file)
@@ -14,13 +14,6 @@ public class CommitmentUpdate extends CommonBase {
                if (ptr != 0) { bindings.CommitmentUpdate_free(ptr); }
        }
 
-       public CommitmentUpdate clone() {
-               long ret = bindings.CommitmentUpdate_clone(this.ptr);
-               CommitmentUpdate ret_hu_conv = new CommitmentUpdate(null, ret);
-               ret_hu_conv.ptrs_to.add(this);
-               return ret_hu_conv;
-       }
-
        public void set_update_add_htlcs(UpdateAddHTLC[] val) {
                bindings.CommitmentUpdate_set_update_add_htlcs(this.ptr, Arrays.stream(val).mapToLong(arr_conv_15 -> arr_conv_15 == null ? 0 : arr_conv_15.ptr & ~1).toArray());
                /* TODO 2 UpdateAddHTLC  */;
@@ -78,4 +71,11 @@ public class CommitmentUpdate extends CommonBase {
                return ret_hu_conv;
        }
 
+       public CommitmentUpdate clone() {
+               long ret = bindings.CommitmentUpdate_clone(this.ptr);
+               CommitmentUpdate ret_hu_conv = new CommitmentUpdate(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
 }