[Java] Update auto-generated Java bindings
[ldk-java] / src / main / java / org / ldk / structs / TwoTuple_OutPointScriptZ.java
index 1f65d4f209acb064928677341b3b160a10aba1fa..32ad9f6df9b44c1166c9b3f6ebf71e58647b9659 100644 (file)
@@ -64,12 +64,13 @@ public class TwoTuple_OutPointScriptZ extends CommonBase {
         * Creates a new C2Tuple_OutPointScriptZ from the contained elements.
         */
        public static TwoTuple_OutPointScriptZ of(OutPoint a, byte[] b) {
-               long ret = bindings.C2Tuple_OutPointScriptZ_new(a == null ? 0 : a.ptr & ~1, b);
+               long ret = bindings.C2Tuple_OutPointScriptZ_new(a == null ? 0 : a.ptr, b);
                Reference.reachabilityFence(a);
                Reference.reachabilityFence(b);
                if (ret >= 0 && ret <= 4096) { return null; }
                TwoTuple_OutPointScriptZ ret_hu_conv = new TwoTuple_OutPointScriptZ(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
+               ret_hu_conv.ptrs_to.add(a);
                return ret_hu_conv;
        }