mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
provide ack code as an integer instead of bytes
This commit is contained in:
parent
74c8981039
commit
baa551bdd2
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue