+ if (ret >= 0 && ret <= 4096) { return null; }
+ BuiltCommitmentTransaction ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new BuiltCommitmentTransaction(null, ret); }
+ ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ return ret_hu_conv;
+ }
+
+ /**
+ * Creates a copy of the BuiltCommitmentTransaction
+ */
+ public BuiltCommitmentTransaction clone() {
+ long ret = bindings.BuiltCommitmentTransaction_clone(this.ptr);
+ if (ret >= 0 && ret <= 4096) { return null; }
+ BuiltCommitmentTransaction ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new BuiltCommitmentTransaction(null, ret); }
+ ret_hu_conv.ptrs_to.add(this);