Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / PaymentSendFailure.java
index 4e9bb14976d3f4eb311dd718187d21dfa27a734f..5320ed255fb21fdccaeec669497c91d26362466e 100644 (file)
@@ -94,6 +94,7 @@ public class PaymentSendFailure extends CommonBase {
         */
        public PaymentSendFailure clone() {
                long ret = bindings.PaymentSendFailure_clone(this.ptr);
+               if (ret < 1024) { return null; }
                PaymentSendFailure ret_hu_conv = PaymentSendFailure.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;