X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FInvoice.java;h=596982ab493c4dcabd6097eb951f1b301b87fec7;hb=330ca992be304d0eac79bd59b411980dff294b03;hp=5bc61db4056b895b4fd35f03c5c2be39e9f545aa;hpb=1852c471e433c02edcae4803ba52bfec05c5631c;p=ldk-java diff --git a/src/main/java/org/ldk/structs/Invoice.java b/src/main/java/org/ldk/structs/Invoice.java index 5bc61db4..596982ab 100644 --- a/src/main/java/org/ldk/structs/Invoice.java +++ b/src/main/java/org/ldk/structs/Invoice.java @@ -30,7 +30,7 @@ public class Invoice extends CommonBase { * This ignores pointers and is_owned flags and looks at the values in fields. * Two objects with NULL inner values will be considered "equal" here. */ - public boolean eq(Invoice b) { + public boolean eq(org.ldk.structs.Invoice b) { boolean ret = bindings.Invoice_eq(this.ptr, b == null ? 0 : b.ptr); Reference.reachabilityFence(this); Reference.reachabilityFence(b); @@ -118,7 +118,7 @@ public class Invoice extends CommonBase { * assert!(Invoice::from_signed(signed).is_ok()); * ``` */ - public static Result_InvoiceSemanticErrorZ from_signed(SignedRawInvoice signed_invoice) { + public static Result_InvoiceSemanticErrorZ from_signed(org.ldk.structs.SignedRawInvoice signed_invoice) { long ret = bindings.Invoice_from_signed(signed_invoice == null ? 0 : signed_invoice.ptr); Reference.reachabilityFence(signed_invoice); if (ret >= 0 && ret <= 4096) { return null; }