*Method needs to call the rpc method, not "method"
This commit is contained in:
parent
2ad0e8c949
commit
4cc21a3122
|
@ -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