X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FChannelFeatures.ts;h=305b3a2160a807b3c8f792a9bf422958d3609929;hb=6d094e745feaf94c1059555cd1c997965a34bc36;hp=1abee1744b5afece65b069c5aa385e6be8c6e4c4;hpb=b0c50b891cbca28d3bd1d86276c132ff5221d8e4;p=ldk-java diff --git a/ts/structs/ChannelFeatures.ts b/ts/structs/ChannelFeatures.ts index 1abee174..305b3a21 100644 --- a/ts/structs/ChannelFeatures.ts +++ b/ts/structs/ChannelFeatures.ts @@ -24,6 +24,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret; } + public number clone_ptr() { + number ret = bindings.ChannelFeatures_clone_ptr(this.ptr); + return ret; + } + public ChannelFeatures clone() { number ret = bindings.ChannelFeatures_clone(this.ptr); const ret_hu_conv: ChannelFeatures = new ChannelFeatures(null, ret); @@ -45,6 +50,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret_hu_conv; } + public boolean requires_unknown_bits() { + boolean ret = bindings.ChannelFeatures_requires_unknown_bits(this.ptr); + return ret; + } + public Uint8Array write() { Uint8Array ret = bindings.ChannelFeatures_write(this.ptr); return ret;