X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FInMemorySigner.ts;h=ff323bb4d76e3f8ea7d215559639d42276f1580d;hb=0fee03a8095f5599f8eccd920c1b1af6b3a20260;hp=767957f2eac5d46112c646068dabe6ea52c08e9c;hpb=f3e670e9341decac613d33fc52febf19cea32f20;p=ldk-java diff --git a/ts/structs/InMemorySigner.ts b/ts/structs/InMemorySigner.ts index 767957f2..ff323bb4 100644 --- a/ts/structs/InMemorySigner.ts +++ b/ts/structs/InMemorySigner.ts @@ -127,6 +127,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret_hu_conv; } + public boolean opt_anchors() { + boolean ret = bindings.InMemorySigner_opt_anchors(this.ptr); + return ret; + } + public Result_CVec_CVec_u8ZZNoneZ sign_counterparty_payment_input(Uint8Array spend_tx, number input_idx, StaticPaymentOutputDescriptor descriptor) { number ret = bindings.InMemorySigner_sign_counterparty_payment_input(this.ptr, spend_tx, input_idx, descriptor == null ? 0 : descriptor.ptr & ~1); Result_CVec_CVec_u8ZZNoneZ ret_hu_conv = Result_CVec_CVec_u8ZZNoneZ.constr_from_ptr(ret);