X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_WriteableEcdsaChannelSignerDecodeErrorZ.mts;h=727c8a43f43647f504804e14d5858ce930ca3c4a;hb=2603a0f616d4198775a2e20408de6f18b4a6c0d1;hp=578664788d395c003a5572fd9bee0fa9e30ac08f;hpb=1a1849cb9b6e08f4ca8ba2ec4adea1f063bf248d;p=ldk-java diff --git a/ts/structs/Result_WriteableEcdsaChannelSignerDecodeErrorZ.mts b/ts/structs/Result_WriteableEcdsaChannelSignerDecodeErrorZ.mts index 57866478..727c8a43 100644 --- a/ts/structs/Result_WriteableEcdsaChannelSignerDecodeErrorZ.mts +++ b/ts/structs/Result_WriteableEcdsaChannelSignerDecodeErrorZ.mts @@ -453,7 +453,7 @@ export class Result_WriteableEcdsaChannelSignerDecodeErrorZ extends CommonBase { * Creates a new CResult_WriteableEcdsaChannelSignerDecodeErrorZ in the success state. */ public static constructor_ok(o: WriteableEcdsaChannelSigner): Result_WriteableEcdsaChannelSignerDecodeErrorZ { - const ret: bigint = bindings.CResult_WriteableEcdsaChannelSignerDecodeErrorZ_ok(o == null ? 0n : CommonBase.get_ptr_of(o)); + const ret: bigint = bindings.CResult_WriteableEcdsaChannelSignerDecodeErrorZ_ok(CommonBase.get_ptr_of(o)); const ret_hu_conv: Result_WriteableEcdsaChannelSignerDecodeErrorZ = Result_WriteableEcdsaChannelSignerDecodeErrorZ.constr_from_ptr(ret); CommonBase.add_ref_from(ret_hu_conv, o); return ret_hu_conv;