diff --git a/src/connection/connection.js b/src/connection/connection.js index 2c5c5a7..b0fc156 100644 --- a/src/connection/connection.js +++ b/src/connection/connection.js @@ -189,7 +189,7 @@ class Connection extends EventEmitter { onSendConfirmedPush(bufferReader) { this.emit(Constants.PushCodes.SendConfirmed, { - ackCode: bufferReader.readBytes(4), + ackCode: bufferReader.readUInt32LE(), roundTrip: bufferReader.readUInt32LE(), }); }