[C#] Update auto-generated C# bindings
[ldk-java] / c_sharp / src / org / ldk / structs / Offer.cs
index 2ac035d9703463e7d0b65c2478f105e753ff03da..8ff67b8a9e4d18223338b2acdda220680fd6fc18 100644 (file)
@@ -208,6 +208,16 @@ public class Offer : CommonBase {
                return ret;
        }
 
+       /**
+        * Whether the offer has expired given the duration since the Unix epoch.
+        */
+       public bool is_expired_no_std(long duration_since_epoch) {
+               bool ret = bindings.Offer_is_expired_no_std(this.ptr, duration_since_epoch);
+               GC.KeepAlive(this);
+               GC.KeepAlive(duration_since_epoch);
+               return ret;
+       }
+
        /**
         * Returns whether the given quantity is valid for the offer.
         */