diff options
| author | TheMas3212 <mas3212@gmail.com> | 2026-07-21 01:21:51 +1000 |
|---|---|---|
| committer | TheMas3212 <mas3212@gmail.com> | 2026-07-21 01:21:51 +1000 |
| commit | 06c0af6cd0f183a5cfb10bbbd0eaae7ef2a7a397 (patch) | |
| tree | cae044345903fcc44e69d377162932bcfcc7f7ec /src/packets | |
| parent | 4b1fc57d124b95216c497929fab25915d3bee5e3 (diff) | |
| download | tasd-js-06c0af6cd0f183a5cfb10bbbd0eaae7ef2a7a397.tar.gz tasd-js-06c0af6cd0f183a5cfb10bbbd0eaae7ef2a7a397.zip | |
Fix typo in Verified Packet
Diffstat (limited to 'src/packets')
| -rw-r--r-- | src/packets/general.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packets/general.ts b/src/packets/general.ts index e9803d0..6e2a8ed 100644 --- a/src/packets/general.ts +++ b/src/packets/general.ts @@ -373,7 +373,7 @@ export class VerifiedPacket implements TASDPacket { return new this(readUint8(buffer, 0) !== 0); } toBuffer(g_keylen: number): Uint8Array { - const payload = new Uint8Array(2); + const payload = new Uint8Array(1); writeUint8(this.verified ? 1 : 0, payload, 0); return buildBuffer(g_keylen, this.key, payload); } |
