diff --git a/src/network/connection.js b/src/network/connection.js index 2ac65c5c2..dded584d8 100644 --- a/src/network/connection.js +++ b/src/network/connection.js @@ -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) }