[TS] Update auto-generated bindings
[ldk-java] / ts / structs / Option_TypeZ.mts
index c2d20648de59032622533b27812fdc12bbf86c7d..f7e0fcf33538bed4845e5ba160015354481ceb7b 100644 (file)
@@ -455,7 +455,7 @@ export class Option_TypeZ extends CommonBase {
         * Constructs a new COption_TypeZ containing a crate::lightning::ln::wire::Type
         */
        public static constructor_some(o: Type): Option_TypeZ {
-               const ret: bigint = bindings.COption_TypeZ_some(o == null ? 0n : CommonBase.get_ptr_of(o));
+               const ret: bigint = bindings.COption_TypeZ_some(CommonBase.get_ptr_of(o));
                const ret_hu_conv: Option_TypeZ = Option_TypeZ.constr_from_ptr(ret);
                CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv);
                CommonBase.add_ref_from(ret_hu_conv, o);