Merge pull request #2 from TheBlueMatt/main
[ldk-java] / src / main / java / org / ldk / structs / RoutingFees.java
index c11990a3a3bb6e776ea7531995fc634d6d55a7df..da1c5c48000790507505b2d2dc6599c037313df4 100644 (file)
@@ -14,13 +14,6 @@ public class RoutingFees extends CommonBase {
                if (ptr != 0) { bindings.RoutingFees_free(ptr); }
        }
 
-       public RoutingFees clone() {
-               long ret = bindings.RoutingFees_clone(this.ptr);
-               RoutingFees ret_hu_conv = new RoutingFees(null, ret);
-               ret_hu_conv.ptrs_to.add(this);
-               return ret_hu_conv;
-       }
-
        public int get_base_msat() {
                int ret = bindings.RoutingFees_get_base_msat(this.ptr);
                return ret;
@@ -46,6 +39,13 @@ public class RoutingFees extends CommonBase {
                return ret_hu_conv;
        }
 
+       public RoutingFees clone() {
+               long ret = bindings.RoutingFees_clone(this.ptr);
+               RoutingFees ret_hu_conv = new RoutingFees(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
        public static Result_RoutingFeesDecodeErrorZ constructor_read(byte[] ser) {
                long ret = bindings.RoutingFees_read(ser);
                Result_RoutingFeesDecodeErrorZ ret_hu_conv = Result_RoutingFeesDecodeErrorZ.constr_from_ptr(ret);