+ if (this != null) { this.ptrs_to.add(closing_tx); };
+ return ret_hu_conv;
+ }
+
+ /**
+ * Computes the signature for a commitment transaction's anchor output used as an
+ * input within `anchor_tx`, which spends the commitment transaction, at index `input`.
+ */
+ public Result_SignatureNoneZ sign_holder_anchor_input(byte[] anchor_tx, long input) {
+ long ret = bindings.BaseSign_sign_holder_anchor_input(this.ptr, anchor_tx, input);
+ Reference.reachabilityFence(this);
+ Reference.reachabilityFence(anchor_tx);
+ Reference.reachabilityFence(input);
+ if (ret >= 0 && ret <= 4096) { return null; }
+ Result_SignatureNoneZ ret_hu_conv = Result_SignatureNoneZ.constr_from_ptr(ret);