Update auto-generated bindings to 0.0.103
[ldk-java] / src / main / java / org / ldk / structs / Type.java
index 62be067b87b1c4aa752c7706143f087d126f0423..1bfb88d122267ea76140833284ac8ed7898739b8 100644 (file)
@@ -87,7 +87,7 @@ public class Type extends CommonBase {
         */
        public Type clone() {
                long ret = bindings.Type_clone(this.ptr);
-               if (ret >= 0 && ret < 1024) { return null; }
+               if (ret >= 0 && ret <= 4096) { return null; }
                Type ret_hu_conv = new Type(null, ret);
                ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;