X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FInvoiceFeatures.ts;h=a184d7bd0cc8fb7940c52ae0f0f1eab88c020cca;hb=1854b5cebef22ace9e9e4dd191f609818df9ce08;hp=0214501714b94f4eb8c19aac7566e50e61f6fff0;hpb=b0c50b891cbca28d3bd1d86276c132ff5221d8e4;p=ldk-java diff --git a/ts/structs/InvoiceFeatures.ts b/ts/structs/InvoiceFeatures.ts index 02145017..a184d7bd 100644 --- a/ts/structs/InvoiceFeatures.ts +++ b/ts/structs/InvoiceFeatures.ts @@ -24,6 +24,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret; } + public number clone_ptr() { + number ret = bindings.InvoiceFeatures_clone_ptr(this.ptr); + return ret; + } + public InvoiceFeatures clone() { number ret = bindings.InvoiceFeatures_clone(this.ptr); const ret_hu_conv: InvoiceFeatures = new InvoiceFeatures(null, ret); @@ -45,8 +50,8 @@ import * as bindings from '../bindings' // TODO: figure out location return ret_hu_conv; } - public boolean supports_payment_secret() { - boolean ret = bindings.InvoiceFeatures_supports_payment_secret(this.ptr); + public boolean requires_unknown_bits() { + boolean ret = bindings.InvoiceFeatures_requires_unknown_bits(this.ptr); return ret; }