Bindings updates
[ldk-java] / ts / structs / Result_UnsignedChannelAnnouncementDecodeErrorZ.ts
index 4bfd88bf0c09b2acf7df81e28d3aedbd5220d042..b38975ef279c0751ad3e33cec44ae3dbc1e7624f 100644 (file)
@@ -19,8 +19,8 @@ public class Result_UnsignedChannelAnnouncementDecodeErrorZ extends CommonBase {
                public final UnsignedChannelAnnouncement res;
                private Result_UnsignedChannelAnnouncementDecodeErrorZ_OK(Object _dummy, long ptr) {
                        super(_dummy, ptr);
-                       uint32_t res = bindings.LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ_get_ok(ptr);
-                       UnsignedChannelAnnouncement res_hu_conv = new UnsignedChannelAnnouncement(null, res);
+                       number res = bindings.LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ_get_ok(ptr);
+                       const res_hu_conv: UnsignedChannelAnnouncement = new UnsignedChannelAnnouncement(null, res);
                        this.res = res_hu_conv;
                }
                public Result_UnsignedChannelAnnouncementDecodeErrorZ_OK(UnsignedChannelAnnouncement res) {
@@ -33,8 +33,8 @@ public class Result_UnsignedChannelAnnouncementDecodeErrorZ extends CommonBase {
                public final DecodeError err;
                private Result_UnsignedChannelAnnouncementDecodeErrorZ_Err(Object _dummy, long ptr) {
                        super(_dummy, ptr);
-                       uint32_t err = bindings.LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ_get_err(ptr);
-                       DecodeError err_hu_conv = new DecodeError(null, err);
+                       number err = bindings.LDKCResult_UnsignedChannelAnnouncementDecodeErrorZ_get_err(ptr);
+                       const err_hu_conv: DecodeError = new DecodeError(null, err);
                        this.err = err_hu_conv;
                }
                public Result_UnsignedChannelAnnouncementDecodeErrorZ_Err(DecodeError err) {