X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FNodeFeatures.ts;h=f9a4c13afe3505c777ac104fc8ce07fc8ca41333;hb=0fee03a8095f5599f8eccd920c1b1af6b3a20260;hp=d1427d1a20d5fcd4db84906545b19ba502705368;hpb=b6cc0960eaee5a5bbc7fde79a56152d6dcd649d8;p=ldk-java diff --git a/ts/structs/NodeFeatures.ts b/ts/structs/NodeFeatures.ts index d1427d1a..f9a4c13a 100644 --- a/ts/structs/NodeFeatures.ts +++ b/ts/structs/NodeFeatures.ts @@ -24,6 +24,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret; } + public number clone_ptr() { + number ret = bindings.NodeFeatures_clone_ptr(this.ptr); + return ret; + } + public NodeFeatures clone() { number ret = bindings.NodeFeatures_clone(this.ptr); const ret_hu_conv: NodeFeatures = new NodeFeatures(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.NodeFeatures_supports_payment_secret(this.ptr); + public boolean requires_unknown_bits() { + boolean ret = bindings.NodeFeatures_requires_unknown_bits(this.ptr); return ret; }