[Java] Update auto-generated bindings to LDK 0.0.123
[ldk-java] / src / main / java / org / ldk / structs / TwoTuple_ThirtyTwoBytesChannelMonitorZ.java
index 87f5d6cd33132dd4590065030b2ad97236746d3a..78f73055791d6074c93b147846626630831fe2bc 100644 (file)
@@ -64,7 +64,7 @@ public class TwoTuple_ThirtyTwoBytesChannelMonitorZ extends CommonBase {
         * Creates a new C2Tuple_ThirtyTwoBytesChannelMonitorZ from the contained elements.
         */
        public static TwoTuple_ThirtyTwoBytesChannelMonitorZ of(byte[] a, org.ldk.structs.ChannelMonitor b) {
-               long ret = bindings.C2Tuple_ThirtyTwoBytesChannelMonitorZ_new(InternalUtils.check_arr_len(a, 32), b == null ? 0 : b.ptr);
+               long ret = bindings.C2Tuple_ThirtyTwoBytesChannelMonitorZ_new(InternalUtils.check_arr_len(a, 32), b.ptr);
                Reference.reachabilityFence(a);
                Reference.reachabilityFence(b);
                if (ret >= 0 && ret <= 4096) { return null; }