X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FBolt11Invoice.java;h=efe7e133837e2b7946de2f32c5d8c58e6e821b3b;hb=ca313f2eee377bec222fa82b2939751fa9eab32e;hp=fa48c2ffaf25e0f06c35c766bb2ebb0c33bd839b;hpb=3e33cfde4213dafe90eb976eb67224e2451da855;p=ldk-java diff --git a/src/main/java/org/ldk/structs/Bolt11Invoice.java b/src/main/java/org/ldk/structs/Bolt11Invoice.java index fa48c2ff..efe7e133 100644 --- a/src/main/java/org/ldk/structs/Bolt11Invoice.java +++ b/src/main/java/org/ldk/structs/Bolt11Invoice.java @@ -226,11 +226,11 @@ public class Bolt11Invoice extends CommonBase { * Returns the Duration since the Unix epoch at which the invoice expires. * Returning None if overflow occurred. */ - public Option_DurationZ expires_at() { + public Option_u64Z expires_at() { long ret = bindings.Bolt11Invoice_expires_at(this.ptr); Reference.reachabilityFence(this); if (ret >= 0 && ret <= 4096) { return null; } - org.ldk.structs.Option_DurationZ ret_hu_conv = org.ldk.structs.Option_DurationZ.constr_from_ptr(ret); + org.ldk.structs.Option_u64Z ret_hu_conv = org.ldk.structs.Option_u64Z.constr_from_ptr(ret); if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(this); }; return ret_hu_conv; }