Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / HTLCFailChannelUpdate.java
index 7ce939f9613ca9a5663ae75cc84c0b314e668eed..0f8c3c5e87a0d529bdbd64d71c547cf83e18dcd2 100644 (file)
@@ -66,6 +66,7 @@ public class HTLCFailChannelUpdate extends CommonBase {
         */
        public HTLCFailChannelUpdate clone() {
                long ret = bindings.HTLCFailChannelUpdate_clone(this.ptr);
+               if (ret < 1024) { return null; }
                HTLCFailChannelUpdate ret_hu_conv = HTLCFailChannelUpdate.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(this);
                return ret_hu_conv;