Bindings updates
[ldk-java] / ts / structs / Result_UnsignedChannelUpdateDecodeErrorZ.ts
index b78d184130ab21a8e679426ecf3618cd1b239b76..ecbde1b6e65bb942bf71189b5cd297d06c4b71d5 100644 (file)
@@ -19,8 +19,8 @@ public class Result_UnsignedChannelUpdateDecodeErrorZ extends CommonBase {
                public final UnsignedChannelUpdate res;
                private Result_UnsignedChannelUpdateDecodeErrorZ_OK(Object _dummy, long ptr) {
                        super(_dummy, ptr);
-                       uint32_t res = bindings.LDKCResult_UnsignedChannelUpdateDecodeErrorZ_get_ok(ptr);
-                       UnsignedChannelUpdate res_hu_conv = new UnsignedChannelUpdate(null, res);
+                       number res = bindings.LDKCResult_UnsignedChannelUpdateDecodeErrorZ_get_ok(ptr);
+                       const res_hu_conv: UnsignedChannelUpdate = new UnsignedChannelUpdate(null, res);
                        this.res = res_hu_conv;
                }
                public Result_UnsignedChannelUpdateDecodeErrorZ_OK(UnsignedChannelUpdate res) {
@@ -33,8 +33,8 @@ public class Result_UnsignedChannelUpdateDecodeErrorZ extends CommonBase {
                public final DecodeError err;
                private Result_UnsignedChannelUpdateDecodeErrorZ_Err(Object _dummy, long ptr) {
                        super(_dummy, ptr);
-                       uint32_t err = bindings.LDKCResult_UnsignedChannelUpdateDecodeErrorZ_get_err(ptr);
-                       DecodeError err_hu_conv = new DecodeError(null, err);
+                       number err = bindings.LDKCResult_UnsignedChannelUpdateDecodeErrorZ_get_err(ptr);
+                       const err_hu_conv: DecodeError = new DecodeError(null, err);
                        this.err = err_hu_conv;
                }
                public Result_UnsignedChannelUpdateDecodeErrorZ_Err(DecodeError err) {