Skip to content

Commit

Permalink
fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
frog711 committed Oct 27, 2023
1 parent 0240615 commit 54bdc23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/communication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class Comm implements Communication {
}

class CommMock implements Communication {
public constructor(public readonly data) {}
public constructor (public readonly data) {}
public async electionData (): Promise<ResponseBean<ElectionData>> {
const electionData = ElectionData.fromJson(this.data.electionData)
return await Promise.resolve(new ResponseBeanOk<ElectionData>(electionData))
Expand Down
2 changes: 1 addition & 1 deletion src/main/constants.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type ProofGenerator, ProofGeneratorImpl, ProofGeneratorMock } from '../algorithms/proof'
import dataTest from '../mock/data.json'
import dataUI from '../mock/data.json'
import dataUI from '../mock/extended.json'
import { Comm, CommMock, type Communication } from './communication'
const k = '0373744f99d31509eb5f8caaabc0cc3fab70e571a5db4d762020723b9cd6ada260'
const g = '0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'
Expand Down
Loading

0 comments on commit 54bdc23

Please sign in to comment.