Merge pull request #107 from TheBlueMatt/main
[ldk-java] / src / main / java / org / ldk / structs / Result_InvoiceSemanticErrorZ.java
index 7776d218cbab3cd8ab94320a6a18af9b526e250b..08db30ebf9b40248357b49e41ac589215726f65a 100644 (file)
@@ -24,8 +24,8 @@ public class Result_InvoiceSemanticErrorZ extends CommonBase {
                public final Invoice res;
                private Result_InvoiceSemanticErrorZ_OK(Object _dummy, long ptr) {
                        super(_dummy, ptr);
-                       long res = bindings.LDKCResult_InvoiceSemanticErrorZ_get_ok(ptr);
-                       Invoice res_hu_conv = null; if (res < 0 || res > 4096) { res_hu_conv = new Invoice(null, res); }
+                       long res = bindings.CResult_InvoiceSemanticErrorZ_get_ok(ptr);
+                       org.ldk.structs.Invoice res_hu_conv = null; if (res < 0 || res > 4096) { res_hu_conv = new org.ldk.structs.Invoice(null, res); }
                        res_hu_conv.ptrs_to.add(this);
                        this.res = res_hu_conv;
                }
@@ -35,7 +35,7 @@ public class Result_InvoiceSemanticErrorZ extends CommonBase {
                public final SemanticError err;
                private Result_InvoiceSemanticErrorZ_Err(Object _dummy, long ptr) {
                        super(_dummy, ptr);
-                       this.err = bindings.LDKCResult_InvoiceSemanticErrorZ_get_err(ptr);
+                       this.err = bindings.CResult_InvoiceSemanticErrorZ_get_err(ptr);
                }
        }