Update auto-generated bindings with new upstream.
[ldk-java] / ts / structs / QueryShortChannelIds.ts
index 58643a72d147a5cbe96f93300f88fc9f211a971b..fe6f93f900dbb907008d793b0f79ac0b9aae808b 100644 (file)
@@ -18,13 +18,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                         bindings.QueryShortChannelIds_free(this.ptr);
                     }
                 }
-       public QueryShortChannelIds clone() {
-               number ret = bindings.QueryShortChannelIds_clone(this.ptr);
-               const ret_hu_conv: QueryShortChannelIds = new QueryShortChannelIds(null, ret);
-               ret_hu_conv.ptrs_to.add(this);
-               return ret_hu_conv;
-       }
-
        public Uint8Array get_chain_hash() {
                Uint8Array ret = bindings.QueryShortChannelIds_get_chain_hash(this.ptr);
                return ret;
@@ -45,6 +38,13 @@ import * as bindings from '../bindings' // TODO: figure out location
                return ret_hu_conv;
        }
 
+       public QueryShortChannelIds clone() {
+               number ret = bindings.QueryShortChannelIds_clone(this.ptr);
+               const ret_hu_conv: QueryShortChannelIds = new QueryShortChannelIds(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
        public static Result_QueryShortChannelIdsDecodeErrorZ constructor_read(Uint8Array ser) {
                number ret = bindings.QueryShortChannelIds_read(ser);
                Result_QueryShortChannelIdsDecodeErrorZ ret_hu_conv = Result_QueryShortChannelIdsDecodeErrorZ.constr_from_ptr(ret);