Merge pull request #2 from TheBlueMatt/main
[ldk-java] / ts / structs / ReplyShortChannelIdsEnd.ts
index 6b2a21016f83168f97ea214e4195c145f802f98c..ebcb2914a57f061e169eceefff9917aea6c7c5a7 100644 (file)
@@ -18,13 +18,6 @@ import * as bindings from '../bindings' // TODO: figure out location
                         bindings.ReplyShortChannelIdsEnd_free(this.ptr);
                     }
                 }
-       public ReplyShortChannelIdsEnd clone() {
-               number ret = bindings.ReplyShortChannelIdsEnd_clone(this.ptr);
-               const ret_hu_conv: ReplyShortChannelIdsEnd = new ReplyShortChannelIdsEnd(null, ret);
-               ret_hu_conv.ptrs_to.add(this);
-               return ret_hu_conv;
-       }
-
        public Uint8Array get_chain_hash() {
                Uint8Array ret = bindings.ReplyShortChannelIdsEnd_get_chain_hash(this.ptr);
                return ret;
@@ -50,6 +43,13 @@ import * as bindings from '../bindings' // TODO: figure out location
                return ret_hu_conv;
        }
 
+       public ReplyShortChannelIdsEnd clone() {
+               number ret = bindings.ReplyShortChannelIdsEnd_clone(this.ptr);
+               const ret_hu_conv: ReplyShortChannelIdsEnd = new ReplyShortChannelIdsEnd(null, ret);
+               ret_hu_conv.ptrs_to.add(this);
+               return ret_hu_conv;
+       }
+
        public static Result_ReplyShortChannelIdsEndDecodeErrorZ constructor_read(Uint8Array ser) {
                number ret = bindings.ReplyShortChannelIdsEnd_read(ser);
                Result_ReplyShortChannelIdsEndDecodeErrorZ ret_hu_conv = Result_ReplyShortChannelIdsEndDecodeErrorZ.constr_from_ptr(ret);