Compare commits
2 Commits
2ad0e8c949
...
cd9dad47dc
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | cd9dad47dc | |
Derrick Hammer | 4cc21a3122 |
|
@ -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);
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue