*Method needs to call the rpc method, not "method"

This commit is contained in:
Derrick Hammer 2023-03-27 12:05:29 -04:00
parent 2ad0e8c949
commit 4cc21a3122
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

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