Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / Invoice.java
index e162d340d5d467490b3e9a402c805286c0a56ac2..e848a21837f9c1b0fb191171cfcceeb5408e37b0 100644 (file)
@@ -54,7 +54,7 @@ public class Invoice extends CommonBase {
                if (ret < 1024) { return null; }
                SignedRawInvoice ret_hu_conv = new SignedRawInvoice(null, ret);
                ret_hu_conv.ptrs_to.add(this);
-               this.ptrs_to.add(this);
+               ;
                return ret_hu_conv;
        }
 
@@ -94,7 +94,6 @@ public class Invoice extends CommonBase {
                long ret = bindings.Invoice_from_signed(signed_invoice == null ? 0 : signed_invoice.ptr & ~1);
                if (ret < 1024) { return null; }
                Result_InvoiceSemanticErrorZ ret_hu_conv = Result_InvoiceSemanticErrorZ.constr_from_ptr(ret);
-               ret_hu_conv.ptrs_to.add(signed_invoice);
                return ret_hu_conv;
        }