Merge pull request #2 from TheBlueMatt/main
[ldk-java] / ts / structs / RoutingFees.ts
index f71fd081fb6e6bb8ebfa874503250fa21e9a4234..e046cbe5851781485bc2bccc68aee51581a5200f 100644 (file)
@@ -18,13 +18,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                         bindings.RoutingFees_free(this.ptr);
                     }
                 }
-       public RoutingFees clone() {
-               number ret = bindings.RoutingFees_clone(this.ptr);
-               const ret_hu_conv: RoutingFees = new RoutingFees(null, ret);
-               ret_hu_conv.ptrs_to.add(this);
-               return ret_hu_conv;
-       }
-
        public number get_base_msat() {
                number ret = bindings.RoutingFees_get_base_msat(this.ptr);
                return ret;
@@ -50,6 +43,13 @@ import * as bindings from '../bindings' // TODO: figure out location
                return ret_hu_conv;
        }
 
+       public RoutingFees clone() {
+               number ret = bindings.RoutingFees_clone(this.ptr);
+               const ret_hu_conv: RoutingFees = new RoutingFees(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
        public static Result_RoutingFeesDecodeErrorZ constructor_read(Uint8Array ser) {
                number ret = bindings.RoutingFees_read(ser);
                Result_RoutingFeesDecodeErrorZ ret_hu_conv = Result_RoutingFeesDecodeErrorZ.constr_from_ptr(ret);