diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-09 16:14:32 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-09 16:14:32 +0800 |
commit | 986ba175ce32d553bf864acfad1a747a3f917036 (patch) | |
tree | fc461c7cc527e3998d4bd183a29ed430185e48af | |
parent | 919b327fc534e3c2dc6330130cee690f0fa39fea (diff) | |
download | dexon-0x-contracts-986ba175ce32d553bf864acfad1a747a3f917036.tar dexon-0x-contracts-986ba175ce32d553bf864acfad1a747a3f917036.tar.gz dexon-0x-contracts-986ba175ce32d553bf864acfad1a747a3f917036.tar.bz2 dexon-0x-contracts-986ba175ce32d553bf864acfad1a747a3f917036.tar.lz dexon-0x-contracts-986ba175ce32d553bf864acfad1a747a3f917036.tar.xz dexon-0x-contracts-986ba175ce32d553bf864acfad1a747a3f917036.tar.zst dexon-0x-contracts-986ba175ce32d553bf864acfad1a747a3f917036.zip |
Fix tslint
-rw-r--r-- | packages/sol-cov/src/coverage_subprovider.ts | 4 |
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]; |