X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FErrorAction.ts;h=cbdfa17e6801ccf9c7341b241583f730689e6814;hb=22f5f4208b1f3b5542292250f1612b944f5cd7fd;hp=9c3a7574178fe707560e8fafbc54e4033ded3e66;hpb=56e9910ffaa7fccf2cb777dc9cf55e01a9681543;p=ldk-java diff --git a/ts/structs/ErrorAction.ts b/ts/structs/ErrorAction.ts index 9c3a7574..cbdfa17e 100644 --- a/ts/structs/ErrorAction.ts +++ b/ts/structs/ErrorAction.ts @@ -27,8 +27,8 @@ export class DisconnectPeer extends ErrorAction { public msg: ErrorMessage; private constructor(ptr: number, obj: bindings.LDKErrorAction.DisconnectPeer) { super(null, ptr); - const msg: uint32_t = obj.msg; - ErrorMessage msg_hu_conv = new ErrorMessage(null, msg); + const msg: number = obj.msg; + const msg_hu_conv: ErrorMessage = new ErrorMessage(null, msg); this.msg = msg_hu_conv; } } @@ -41,8 +41,8 @@ export class SendErrorMessage extends ErrorAction { public msg: ErrorMessage; private constructor(ptr: number, obj: bindings.LDKErrorAction.SendErrorMessage) { super(null, ptr); - const msg: uint32_t = obj.msg; - ErrorMessage msg_hu_conv = new ErrorMessage(null, msg); + const msg: number = obj.msg; + const msg_hu_conv: ErrorMessage = new ErrorMessage(null, msg); this.msg = msg_hu_conv; } }