Update auto-generated bindings to 0.0.103
[ldk-java] / src / main / java / org / ldk / structs / TwoTuple_PaymentHashPaymentSecretZ.java
index 1a1975299130f53aecc58c0b5737b6f24f641485..0ba6ac805f5ee6efdb4935f4e2dd33278541ba0c 100644 (file)
@@ -41,7 +41,7 @@ public class TwoTuple_PaymentHashPaymentSecretZ extends CommonBase {
         */
        public TwoTuple_PaymentHashPaymentSecretZ clone() {
                long ret = bindings.C2Tuple_PaymentHashPaymentSecretZ_clone(this.ptr);
-               if (ret >= 0 && ret < 1024) { return null; }
+               if (ret >= 0 && ret <= 4096) { return null; }
                TwoTuple_PaymentHashPaymentSecretZ ret_hu_conv = new TwoTuple_PaymentHashPaymentSecretZ(null, ret);
                ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;
@@ -52,7 +52,7 @@ public class TwoTuple_PaymentHashPaymentSecretZ extends CommonBase {
         */
        public static TwoTuple_PaymentHashPaymentSecretZ of(byte[] a, byte[] b) {
                long ret = bindings.C2Tuple_PaymentHashPaymentSecretZ_new(a, b);
-               if (ret >= 0 && ret < 1024) { return null; }
+               if (ret >= 0 && ret <= 4096) { return null; }
                TwoTuple_PaymentHashPaymentSecretZ ret_hu_conv = new TwoTuple_PaymentHashPaymentSecretZ(null, ret);
                ret_hu_conv.ptrs_to.add(ret_hu_conv);
                return ret_hu_conv;