aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-cov
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-09 16:14:32 +0800
committerFabio Berger <me@fabioberger.com>2018-04-09 16:14:32 +0800
commit986ba175ce32d553bf864acfad1a747a3f917036 (patch)
treefc461c7cc527e3998d4bd183a29ed430185e48af /packages/sol-cov
parent919b327fc534e3c2dc6330130cee690f0fa39fea (diff)
downloaddexon-sol-tools-986ba175ce32d553bf864acfad1a747a3f917036.tar
dexon-sol-tools-986ba175ce32d553bf864acfad1a747a3f917036.tar.gz
dexon-sol-tools-986ba175ce32d553bf864acfad1a747a3f917036.tar.bz2
dexon-sol-tools-986ba175ce32d553bf864acfad1a747a3f917036.tar.lz
dexon-sol-tools-986ba175ce32d553bf864acfad1a747a3f917036.tar.xz
dexon-sol-tools-986ba175ce32d553bf864acfad1a747a3f917036.tar.zst
dexon-sol-tools-986ba175ce32d553bf864acfad1a747a3f917036.zip
Fix tslint
Diffstat (limited to 'packages/sol-cov')
-rw-r--r--packages/sol-cov/src/coverage_subprovider.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/sol-cov/src/coverage_subprovider.ts b/packages/sol-cov/src/coverage_subprovider.ts
index fc8b55188..6504d5a46 100644
--- a/packages/sol-cov/src/coverage_subprovider.ts
+++ b/packages/sol-cov/src/coverage_subprovider.ts
@@ -56,8 +56,8 @@ export class CoverageSubprovider extends Subprovider {
* @param next Callback to call if this subprovider decides not to handle the request
* @param end Callback to call if subprovider handled the request and wants to pass back the request.
*/
- // tslint:disable-next-line:prefer-function-over-method
- public handleRequest(payload: JSONRPCRequestPayload, next: NextCallback, end: ErrorCallback) {
+ // tslint:disable-next-line:prefer-function-over-method async-suffix
+ public async handleRequest(payload: JSONRPCRequestPayload, next: NextCallback, end: ErrorCallback) {
switch (payload.method) {
case 'eth_sendTransaction':
const txData = payload.params[0];