X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FChannelMonitorUpdate.ts;fp=ts%2Fstructs%2FChannelMonitorUpdate.ts;h=80e11cd18b1aaddac9b3b8a6d8455e905b565bdd;hb=246459dcbc3be28c38b4951140a5933f4b3aa024;hp=3217804ef0ae7b04ea8bb4e02aab064edf124a95;hpb=b52dde859c138f9257499496749d1eb89f9f6f43;p=ldk-java diff --git a/ts/structs/ChannelMonitorUpdate.ts b/ts/structs/ChannelMonitorUpdate.ts index 3217804e..80e11cd1 100644 --- a/ts/structs/ChannelMonitorUpdate.ts +++ b/ts/structs/ChannelMonitorUpdate.ts @@ -18,13 +18,6 @@ import * as bindings from '../bindings' // TODO: figure out location bindings.ChannelMonitorUpdate_free(this.ptr); } } - public ChannelMonitorUpdate clone() { - number ret = bindings.ChannelMonitorUpdate_clone(this.ptr); - const ret_hu_conv: ChannelMonitorUpdate = new ChannelMonitorUpdate(null, ret); - ret_hu_conv.ptrs_to.add(this); - return ret_hu_conv; - } - public number get_update_id() { number ret = bindings.ChannelMonitorUpdate_get_update_id(this.ptr); return ret; @@ -34,6 +27,13 @@ import * as bindings from '../bindings' // TODO: figure out location bindings.ChannelMonitorUpdate_set_update_id(this.ptr, val); } + public ChannelMonitorUpdate clone() { + number ret = bindings.ChannelMonitorUpdate_clone(this.ptr); + const ret_hu_conv: ChannelMonitorUpdate = new ChannelMonitorUpdate(null, ret); + ret_hu_conv.ptrs_to.add(this); + return ret_hu_conv; + } + public Uint8Array write() { Uint8Array ret = bindings.ChannelMonitorUpdate_write(this.ptr); return ret;