Compare commits

..

No commits in common. "cd9dad47dcdcd6314c9dfbead75086fb0ce34609" and "2ad0e8c94966606a30de7311f04993725574f177" have entirely different histories.

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"); return this.callModuleReturn("ready");
} }
async method(method, params) { async method(method, params) {
return this.callModuleReturn(method, params); return this.callModuleReturn("method", params);
} }
} }
export const createClient = factory(EthClient, RPC_MODULE); export const createClient = factory(EthClient, RPC_MODULE);

View File

@ -7,7 +7,7 @@ export class EthClient extends Client {
return this.callModuleReturn("ready"); return this.callModuleReturn("ready");
} }
public async method(method: string, params: any) { public async method(method: string, params: any) {
return this.callModuleReturn(method, params); return this.callModuleReturn("method", params);
} }
} }