X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_NetworkGraphDecodeErrorZ.mts;h=654a061370c185cd89e2cab031bbf216566b3ed3;hb=2603a0f616d4198775a2e20408de6f18b4a6c0d1;hp=af3f33436ec4025a844e2be58bcdbfefe866603d;hpb=1a1849cb9b6e08f4ca8ba2ec4adea1f063bf248d;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;