Compare commits

...

2 Commits

Author SHA1 Message Date
Derrick Hammer cd9dad47dc
*Update dist 2023-03-27 12:05:55 -04:00
Derrick Hammer 4cc21a3122
*Method needs to call the rpc method, not "method" 2023-03-27 12:05:29 -04:00
2 changed files with 2 additions and 2 deletions

2
dist/client.js vendored
View File

@ -5,7 +5,7 @@ export class EthClient extends Client {
return this.callModuleReturn("ready");
}
async method(method, params) {
return this.callModuleReturn("method", params);
return this.callModuleReturn(method, params);
}
}
export const createClient = factory(EthClient, RPC_MODULE);

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