From a3669fb403e89185a19cd599b3e9464d240e8455 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 4 Jul 2023 09:55:13 -0400 Subject: [PATCH] fix: remove unneeded import --- src/query/simple.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/query/simple.ts b/src/query/simple.ts index 06988d2..ee45971 100644 --- a/src/query/simple.ts +++ b/src/query/simple.ts @@ -9,7 +9,6 @@ import { setupStream, validateTimestampedResponse, } from "../util.js"; -import RPC from "@lumeweb/rpc"; import { ERR_INVALID_SIGNATURE } from "../error.js"; import RpcQueryBase from "./base.js"; @@ -67,7 +66,7 @@ export default class SimpleRpcQuery extends RpcQueryBase { if (!socket) { socket = this._network.getAvailableRelay( this._query.module, - this._query.method + this._query.method, ); } @@ -109,9 +108,9 @@ export default class SimpleRpcQuery extends RpcQueryBase { !validateTimestampedResponse( b4a.from( await maybeGetAsyncProperty(this._relay.remotePublicKey), - "hex" + "hex", ) as Buffer, - response + response, ) ) { response = { error: ERR_INVALID_SIGNATURE };