From 4cc21a3122772809d4398a12291d8bc80c0980d4 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 27 Mar 2023 12:05:29 -0400 Subject: [PATCH] *Method needs to call the rpc method, not "method" --- src/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.ts b/src/client.ts index c8b6deb..50e90ba 100644 --- a/src/client.ts +++ b/src/client.ts @@ -7,7 +7,7 @@ export class EthClient extends Client { return this.callModuleReturn("ready"); } public async method(method: string, params: any) { - return this.callModuleReturn("method", params); + return this.callModuleReturn(method, params); } }