Skip to content

Commit 8d0169d

Browse files
committed
small rev
1 parent d82c540 commit 8d0169d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tls/enum",
3-
"version": "0.2.5",
3+
"version": "0.2.6",
44
"exports": "./src/mod.ts",
55
"publish": {
66
"exclude": ["dist/"]

src/handshaketype.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export class Handshake extends Struct {
116116
const msg_type = HandshakeType.fromValue(copy[0]);
117117
const lengthOf = Uint24.from(copy.subarray(1)).value;
118118
const message = copy.subarray(4, 4 + lengthOf)
119-
return new Handshake(msg_type, length, message)
119+
return new Handshake(msg_type, lengthOf, message)
120120
}
121121
constructor(msg_type, length, message){
122122
super(+msg_type, length, message)

0 commit comments

Comments
 (0)