[Java] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / src / main / java / org / ldk / structs / InFlightHtlcs.java
index 3282013a67a75ff4fc1aba777fccc12980bafccc..de2c4ead75b7bafff46a4e28850a2cc058644b4e 100644 (file)
@@ -54,7 +54,7 @@ public class InFlightHtlcs extends CommonBase {
         * Takes in a path with payer's node id and adds the path's details to `InFlightHtlcs`.
         */
        public void process_path(org.ldk.structs.Path path, byte[] payer_node_id) {
-               bindings.InFlightHtlcs_process_path(this.ptr, path == null ? 0 : path.ptr, InternalUtils.check_arr_len(payer_node_id, 33));
+               bindings.InFlightHtlcs_process_path(this.ptr, path.ptr, InternalUtils.check_arr_len(payer_node_id, 33));
                Reference.reachabilityFence(this);
                Reference.reachabilityFence(path);
                Reference.reachabilityFence(payer_node_id);
@@ -66,7 +66,7 @@ public class InFlightHtlcs extends CommonBase {
         * 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);
+               bindings.InFlightHtlcs_add_inflight_htlc(this.ptr, source.ptr, target.ptr, channel_scid, used_msat);
                Reference.reachabilityFence(this);
                Reference.reachabilityFence(source);
                Reference.reachabilityFence(target);
@@ -81,7 +81,7 @@ public class InFlightHtlcs extends CommonBase {
         * id.
         */
        public Option_u64Z used_liquidity_msat(org.ldk.structs.NodeId source, org.ldk.structs.NodeId target, long channel_scid) {
-               long ret = bindings.InFlightHtlcs_used_liquidity_msat(this.ptr, source == null ? 0 : source.ptr, target == null ? 0 : target.ptr, channel_scid);
+               long ret = bindings.InFlightHtlcs_used_liquidity_msat(this.ptr, source.ptr, target.ptr, channel_scid);
                Reference.reachabilityFence(this);
                Reference.reachabilityFence(source);
                Reference.reachabilityFence(target);