Skip to content

Commit

Permalink
fix: dot buffer twice make assl-auth error
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardochen1996 committed Nov 17, 2022
1 parent 46e56c9 commit 6171afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/network/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ module.exports = class Connection {
const requestPayload = await request.encode()

this.failIfNotConnected()
this.socket.write(requestPayload.buffer, 'binary')
this.socket.write(requestPayload, 'binary')
} catch (e) {
reject(e)
}
Expand Down

0 comments on commit 6171afe

Please sign in to comment.