X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_SpendableOutputDescriptorDecodeErrorZ.ts;h=cb6afaa928b686105fb791bf6b083bca2b6c2fcb;hb=22f5f4208b1f3b5542292250f1612b944f5cd7fd;hp=056adaceed4fa58b50689406d198bb2c788a65f6;hpb=822471992c6bf6f9985e531cc5940e4cc35e3e4c;p=ldk-java diff --git a/ts/structs/Result_SpendableOutputDescriptorDecodeErrorZ.ts b/ts/structs/Result_SpendableOutputDescriptorDecodeErrorZ.ts index 056adace..cb6afaa9 100644 --- a/ts/structs/Result_SpendableOutputDescriptorDecodeErrorZ.ts +++ b/ts/structs/Result_SpendableOutputDescriptorDecodeErrorZ.ts @@ -19,7 +19,7 @@ public class Result_SpendableOutputDescriptorDecodeErrorZ extends CommonBase { public final SpendableOutputDescriptor res; private Result_SpendableOutputDescriptorDecodeErrorZ_OK(Object _dummy, long ptr) { super(_dummy, ptr); - uint32_t res = bindings.LDKCResult_SpendableOutputDescriptorDecodeErrorZ_get_ok(ptr); + number res = bindings.LDKCResult_SpendableOutputDescriptorDecodeErrorZ_get_ok(ptr); SpendableOutputDescriptor res_hu_conv = SpendableOutputDescriptor.constr_from_ptr(res); res_hu_conv.ptrs_to.add(this); this.res = res_hu_conv; @@ -33,8 +33,8 @@ public class Result_SpendableOutputDescriptorDecodeErrorZ extends CommonBase { public final DecodeError err; private Result_SpendableOutputDescriptorDecodeErrorZ_Err(Object _dummy, long ptr) { super(_dummy, ptr); - uint32_t err = bindings.LDKCResult_SpendableOutputDescriptorDecodeErrorZ_get_err(ptr); - DecodeError err_hu_conv = new DecodeError(null, err); + number err = bindings.LDKCResult_SpendableOutputDescriptorDecodeErrorZ_get_err(ptr); + const err_hu_conv: DecodeError = new DecodeError(null, err); this.err = err_hu_conv; } public Result_SpendableOutputDescriptorDecodeErrorZ_Err(DecodeError err) {