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); } }