X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_RouteDecodeErrorZ.ts;h=2fff6d286470a8f175d022709ed5cb01f7e91c62;hb=22f5f4208b1f3b5542292250f1612b944f5cd7fd;hp=d3b0e2ef063f014eb7c5fb07a1245152e54b3487;hpb=56e9910ffaa7fccf2cb777dc9cf55e01a9681543;p=ldk-java diff --git a/ts/structs/Result_RouteDecodeErrorZ.ts b/ts/structs/Result_RouteDecodeErrorZ.ts index d3b0e2ef..2fff6d28 100644 --- a/ts/structs/Result_RouteDecodeErrorZ.ts +++ b/ts/structs/Result_RouteDecodeErrorZ.ts @@ -19,8 +19,8 @@ public class Result_RouteDecodeErrorZ extends CommonBase { public final Route res; private Result_RouteDecodeErrorZ_OK(Object _dummy, long ptr) { super(_dummy, ptr); - uint32_t res = bindings.LDKCResult_RouteDecodeErrorZ_get_ok(ptr); - Route res_hu_conv = new Route(null, res); + number res = bindings.LDKCResult_RouteDecodeErrorZ_get_ok(ptr); + const res_hu_conv: Route = new Route(null, res); this.res = res_hu_conv; } public Result_RouteDecodeErrorZ_OK(Route res) { @@ -33,8 +33,8 @@ public class Result_RouteDecodeErrorZ extends CommonBase { public final DecodeError err; private Result_RouteDecodeErrorZ_Err(Object _dummy, long ptr) { super(_dummy, ptr); - uint32_t err = bindings.LDKCResult_RouteDecodeErrorZ_get_err(ptr); - DecodeError err_hu_conv = new DecodeError(null, err); + number err = bindings.LDKCResult_RouteDecodeErrorZ_get_err(ptr); + const err_hu_conv: DecodeError = new DecodeError(null, err); this.err = err_hu_conv; } public Result_RouteDecodeErrorZ_Err(DecodeError err) {