[Java] Update auto-generated Java bindings for 0.0.116
[ldk-java] / src / main / java / org / ldk / structs / InFlightHtlcs.java
index dcdfc82eeed20960097ad3e6acd06d931a4d8de1..3282013a67a75ff4fc1aba777fccc12980bafccc 100644 (file)
@@ -61,6 +61,21 @@ public class InFlightHtlcs extends CommonBase {
                if (this != null) { this.ptrs_to.add(path); };
        }
 
+       /**
+        * Adds a known HTLC given the public key of the HTLC source, target, and short channel
+        * id.
+        */
+       public void add_inflight_htlc(org.ldk.structs.NodeId source, org.ldk.structs.NodeId target, long channel_scid, long used_msat) {
+               bindings.InFlightHtlcs_add_inflight_htlc(this.ptr, source == null ? 0 : source.ptr, target == null ? 0 : target.ptr, channel_scid, used_msat);
+               Reference.reachabilityFence(this);
+               Reference.reachabilityFence(source);
+               Reference.reachabilityFence(target);
+               Reference.reachabilityFence(channel_scid);
+               Reference.reachabilityFence(used_msat);
+               if (this != null) { this.ptrs_to.add(source); };
+               if (this != null) { this.ptrs_to.add(target); };
+       }
+
        /**
         * Returns liquidity in msat given the public key of the HTLC source, target, and short channel
         * id.