Skip to content
This repository was archived by the owner on Dec 10, 2020. It is now read-only.

Commit 805a87c

Browse files
committed
Lint lib/service
1 parent de80d90 commit 805a87c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/service/ethereumservice.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class EthereumService extends Service {
6767
if (this.opened) {
6868
return false
6969
}
70-
super.open()
70+
await super.open()
7171
this.synchronizer.on('synchronized', () => this.emit('synchronized'))
7272
this.synchronizer.on('error', (error: Error) => this.emit('error', error))
7373
await this.chain.open()

lib/service/lightethereumservice.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ export class LightEthereumService extends EthereumService {
5151
* @param {Peer} peer peer
5252
* @return {Promise}
5353
*/
54-
async handle(message: any, protocol: string, peer: Peer) {}
54+
async handle(_message: any, _protocol: string, _peer: Peer) {}
5555
}

lib/service/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,5 +135,5 @@ export class Service extends events.EventEmitter {
135135
* @param {Peer} peer peer
136136
* @return {Promise}
137137
*/
138-
async handle(message: any, protocol: string, peer: Peer): Promise<any> {}
138+
async handle(_message: any, _protocol: string, _peer: Peer): Promise<any> {}
139139
}

0 commit comments

Comments
 (0)