Skip to content

Commit

Permalink
style: fix some style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
snario committed Jun 18, 2021
1 parent 46ee150 commit 2dcde0e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/data-transport-layer/src/services/main/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ export class L1DataTransportService extends BaseService<L1DataTransportServiceOp
super('L1_Data_Transport_Service', options, optionSettings)
}



private state: {
db: LevelUp
l1IngestionService?: L1IngestionService
Expand All @@ -67,18 +65,15 @@ export class L1DataTransportService extends BaseService<L1DataTransportServiceOp
this.state.db = level(this.options.dbPath)
await this.state.db.open()


const metrics = this.options.enableMetrics ?

new Metrics({
labels: {
environment: this.options.nodeEnv,
network: this.options.ethNetworkName,
release: this.options.release,
service: this.name,
}
}) : undefined

}) : undefined;

this.state.l1TransportServer = new L1TransportServer({
...this.options,
Expand Down

0 comments on commit 2dcde0e

Please sign in to comment.