Update auto-updated Java files
[ldk-java] / ts / structs / TrustedCommitmentTransaction.ts
index 09248f42ff1ccd5ff964dc72b166c88bfa91cdfa..cb0c2bfc8f6a17e7d03e1416d87b975e8e9a86de 100644 (file)
@@ -37,6 +37,11 @@ import * as bindings from '../bindings' // TODO: figure out location
                return ret_hu_conv;
        }
 
+       public boolean opt_anchors() {
+               boolean ret = bindings.TrustedCommitmentTransaction_opt_anchors(this.ptr);
+               return ret;
+       }
+
        public Result_CVec_SignatureZNoneZ get_htlc_sigs(Uint8Array htlc_base_key, DirectedChannelTransactionParameters channel_parameters) {
                number ret = bindings.TrustedCommitmentTransaction_get_htlc_sigs(this.ptr, InternalUtils.check_arr_len(htlc_base_key, 32), channel_parameters == null ? 0 : channel_parameters.ptr & ~1);
                Result_CVec_SignatureZNoneZ ret_hu_conv = Result_CVec_SignatureZNoneZ.constr_from_ptr(ret);