X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FOption_UtxoLookupZ.mts;h=83ca6d1234e84dd5b3a744a15d90e05c77e526ee;hb=2603a0f616d4198775a2e20408de6f18b4a6c0d1;hp=eab1f8c39b1156194100b328277ad4325dba0f89;hpb=a672396f21c0448656bb400cfe28b9df6e5a842b;p=ldk-java diff --git a/ts/structs/Option_UtxoLookupZ.mts b/ts/structs/Option_UtxoLookupZ.mts index eab1f8c3..83ca6d12 100644 --- a/ts/structs/Option_UtxoLookupZ.mts +++ b/ts/structs/Option_UtxoLookupZ.mts @@ -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);