X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_NetworkGraphDecodeErrorZ.mts;fp=ts%2Fstructs%2FResult_NetworkGraphDecodeErrorZ.mts;h=654a061370c185cd89e2cab031bbf216566b3ed3;hb=44e2b3520205dadcda0d34de8addc7a0b7ea7362;hp=af3f33436ec4025a844e2be58bcdbfefe866603d;hpb=27b8cc09b5182166e0ee7d7071dff5abfe71b8a2;p=ldk-java diff --git a/ts/structs/Result_NetworkGraphDecodeErrorZ.mts b/ts/structs/Result_NetworkGraphDecodeErrorZ.mts index af3f3343..654a0613 100644 --- a/ts/structs/Result_NetworkGraphDecodeErrorZ.mts +++ b/ts/structs/Result_NetworkGraphDecodeErrorZ.mts @@ -453,7 +453,7 @@ export class Result_NetworkGraphDecodeErrorZ extends CommonBase { * Creates a new CResult_NetworkGraphDecodeErrorZ in the success state. */ public static constructor_ok(o_network: Network, o_logger: Logger): Result_NetworkGraphDecodeErrorZ { - const ret: bigint = bindings.CResult_NetworkGraphDecodeErrorZ_ok(bindings.NetworkGraph_new(o_network, o_logger == null ? 0n : CommonBase.get_ptr_of(o_logger))); + const ret: bigint = bindings.CResult_NetworkGraphDecodeErrorZ_ok(bindings.NetworkGraph_new(o_network, CommonBase.get_ptr_of(o_logger))); const ret_hu_conv: Result_NetworkGraphDecodeErrorZ = Result_NetworkGraphDecodeErrorZ.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, o_logger); return ret_hu_conv;