X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FChannelHandshakeConfig.ts;fp=ts%2Fstructs%2FChannelHandshakeConfig.ts;h=1db4cd89ff8a59ea8900e43206260a603e865e2c;hb=246459dcbc3be28c38b4951140a5933f4b3aa024;hp=e199a1e30f95f44647ddcd60f1e1911d33919d0b;hpb=b52dde859c138f9257499496749d1eb89f9f6f43;p=ldk-java diff --git a/ts/structs/ChannelHandshakeConfig.ts b/ts/structs/ChannelHandshakeConfig.ts index e199a1e3..1db4cd89 100644 --- a/ts/structs/ChannelHandshakeConfig.ts +++ b/ts/structs/ChannelHandshakeConfig.ts @@ -18,13 +18,6 @@ import * as bindings from '../bindings' // TODO: figure out location bindings.ChannelHandshakeConfig_free(this.ptr); } } - public ChannelHandshakeConfig clone() { - number ret = bindings.ChannelHandshakeConfig_clone(this.ptr); - const ret_hu_conv: ChannelHandshakeConfig = new ChannelHandshakeConfig(null, ret); - ret_hu_conv.ptrs_to.add(this); - return ret_hu_conv; - } - public number get_minimum_depth() { number ret = bindings.ChannelHandshakeConfig_get_minimum_depth(this.ptr); return ret; @@ -59,6 +52,13 @@ import * as bindings from '../bindings' // TODO: figure out location return ret_hu_conv; } + public ChannelHandshakeConfig clone() { + number ret = bindings.ChannelHandshakeConfig_clone(this.ptr); + const ret_hu_conv: ChannelHandshakeConfig = new ChannelHandshakeConfig(null, ret); + ret_hu_conv.ptrs_to.add(this); + return ret_hu_conv; + } + public static ChannelHandshakeConfig constructor_default() { number ret = bindings.ChannelHandshakeConfig_default(); const ret_hu_conv: ChannelHandshakeConfig = new ChannelHandshakeConfig(null, ret);