Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / PayeePubKey.java
index 9437f0f7d67fcf80ef5e3218e89672681db5d592..5f50af0d3991e7d7fb4e23bb74489397cc9ce623 100644 (file)
@@ -34,6 +34,7 @@ public class PayeePubKey extends CommonBase {
         */
        public PayeePubKey clone() {
                long ret = bindings.PayeePubKey_clone(this.ptr);
+               if (ret < 1024) { return null; }
                PayeePubKey ret_hu_conv = new PayeePubKey(null, ret);
                ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;