diff --git a/src/rpcQuery.ts b/src/rpcQuery.ts index 0ba63bd..ade9ac4 100644 --- a/src/rpcQuery.ts +++ b/src/rpcQuery.ts @@ -86,6 +86,7 @@ export default class RpcQuery { resolve(null); }); socket.on("error", (error: any) => reject({ error })); + socket.write("rpc"); socket.write(pack(this._query)); }); }