[TS] Update auto-generated bindings
[ldk-java] / ts / structs / MultiThreadedLockableScore.mts
index 3f282a5690cba68499069543cfd7f14667d9802d..9d78ecab11b9ea99c7386d99329313b0a9c13cd8 100644 (file)
@@ -480,7 +480,7 @@ export class MultiThreadedLockableScore extends CommonBase {
         * Creates a new [`MultiThreadedLockableScore`] given an underlying [`Score`].
         */
        public static constructor_new(score: Score): MultiThreadedLockableScore {
-               const ret: bigint = bindings.MultiThreadedLockableScore_new(score == null ? 0n : CommonBase.get_ptr_of(score));
+               const ret: bigint = bindings.MultiThreadedLockableScore_new(CommonBase.get_ptr_of(score));
                const ret_hu_conv: MultiThreadedLockableScore = new MultiThreadedLockableScore(null, ret);
                CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv);
                CommonBase.add_ref_from(ret_hu_conv, score);