[TS] Update auto-generated bindings
[ldk-java] / ts / structs / Option_UtxoLookupZ.mts
index eab1f8c39b1156194100b328277ad4325dba0f89..83ca6d1234e84dd5b3a744a15d90e05c77e526ee 100644 (file)
@@ -455,7 +455,7 @@ export class Option_UtxoLookupZ extends CommonBase {
         * Constructs a new COption_UtxoLookupZ containing a crate::lightning::routing::utxo::UtxoLookup
         */
        public static constructor_some(o: UtxoLookup): Option_UtxoLookupZ {
-               const ret: bigint = bindings.COption_UtxoLookupZ_some(o == null ? 0n : CommonBase.get_ptr_of(o));
+               const ret: bigint = bindings.COption_UtxoLookupZ_some(CommonBase.get_ptr_of(o));
                const ret_hu_conv: Option_UtxoLookupZ = Option_UtxoLookupZ.constr_from_ptr(ret);
                CommonBase.add_ref_from(ret_hu_conv, ret_hu_conv);
                CommonBase.add_ref_from(ret_hu_conv, o);