diff options
author | Fabio Berger <me@fabioberger.com> | 2018-06-12 05:42:30 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-06-12 05:42:30 +0800 |
commit | e1879ef4d91fc58203d9748eca38695b79c43674 (patch) | |
tree | 0a9a68927d5dc769b0c5cb2c5d9445849fb56e7c /packages/subproviders/src | |
parent | b6df727efb74084a849330273a44cfc5ae3a85af (diff) | |
download | dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.gz dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.bz2 dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.lz dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.xz dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.tar.zst dexon-sol-tools-e1879ef4d91fc58203d9748eca38695b79c43674.zip |
Fix no-unused-variable tslint rule to include parameters and fix issues
Diffstat (limited to 'packages/subproviders/src')
-rw-r--r-- | packages/subproviders/src/subproviders/ganache.ts | 2 | ||||
-rw-r--r-- | packages/subproviders/src/subproviders/nonce_tracker.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/subproviders/src/subproviders/ganache.ts b/packages/subproviders/src/subproviders/ganache.ts index 73d0513cc..61b6bb5e9 100644 --- a/packages/subproviders/src/subproviders/ganache.ts +++ b/packages/subproviders/src/subproviders/ganache.ts @@ -28,7 +28,7 @@ export class GanacheSubprovider extends Subprovider { * @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 async-suffix - public async handleRequest(payload: JSONRPCRequestPayload, next: Callback, end: ErrorCallback): Promise<void> { + public async handleRequest(payload: JSONRPCRequestPayload, _next: Callback, end: ErrorCallback): Promise<void> { this._ganacheProvider.sendAsync(payload, (err: Error | null, result: any) => { end(err, result && result.result); }); diff --git a/packages/subproviders/src/subproviders/nonce_tracker.ts b/packages/subproviders/src/subproviders/nonce_tracker.ts index 98773e79c..dcc421574 100644 --- a/packages/subproviders/src/subproviders/nonce_tracker.ts +++ b/packages/subproviders/src/subproviders/nonce_tracker.ts @@ -75,7 +75,7 @@ export class NonceTrackerSubprovider extends Subprovider { return next(); } case 'eth_sendRawTransaction': - return next((sendTransactionError: Error | null, txResult: any, cb: Callback) => { + return next((sendTransactionError: Error | null, _txResult: any, cb: Callback) => { if (_.isNull(sendTransactionError)) { this._handleSuccessfulTransaction(payload); } else { |