[Java] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / src / main / java / org / ldk / structs / TwoTuple_BlindedPayInfoBlindedPathZ.java
index 4ae374996b726a6239b73ff4ed2d05e0e7214300..ff721e1a32d06e7172197be1317b611cbe123dee 100644 (file)
@@ -67,7 +67,7 @@ public class TwoTuple_BlindedPayInfoBlindedPathZ extends CommonBase {
         * Creates a new C2Tuple_BlindedPayInfoBlindedPathZ from the contained elements.
         */
        public static TwoTuple_BlindedPayInfoBlindedPathZ of(org.ldk.structs.BlindedPayInfo a, org.ldk.structs.BlindedPath b) {
-               long ret = bindings.C2Tuple_BlindedPayInfoBlindedPathZ_new(a == null ? 0 : a.ptr, b == null ? 0 : b.ptr);
+               long ret = bindings.C2Tuple_BlindedPayInfoBlindedPathZ_new(a.ptr, b.ptr);
                Reference.reachabilityFence(a);
                Reference.reachabilityFence(b);
                if (ret >= 0 && ret <= 4096) { return null; }