X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FOption_UtxoLookupZ.mts;fp=ts%2Fstructs%2FOption_UtxoLookupZ.mts;h=83ca6d1234e84dd5b3a744a15d90e05c77e526ee;hb=44e2b3520205dadcda0d34de8addc7a0b7ea7362;hp=eab1f8c39b1156194100b328277ad4325dba0f89;hpb=27b8cc09b5182166e0ee7d7071dff5abfe71b8a2;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);