Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
syntrust committed Apr 29, 2024
1 parent 8f15c39 commit b01795f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ethstorage/prover/kzg_poseidon_prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func NewKZGPoseidonProver(workingDir, zkeyFileName string, zkProverMode, zkProve
zkProverImpl: zkProverImpl,
libDir: libDir,
zkey: zkeyFileName,
wasm: wasmFile,
wasm: wasmName,
lg: lg,
}
}
Expand Down
8 changes: 2 additions & 6 deletions ethstorage/prover/zk_prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,10 @@ type ZKProver struct {
lg log.Logger
}

func NewZKProver(workingDir, zkeyFile, wasmName string, lg log.Logger) *ZKProver {
return newZKProver(workingDir, zkeyFile, wasmName, lg)
}

func newZKProver(workingDir, zkeyFile, wasmName string, lg log.Logger) *ZKProver {
func NewZKProver(workingDir, zkeyName, wasmName string, lg log.Logger) *ZKProver {
return &ZKProver{
dir: workingDir,
zkeyName: zkeyFile,
zkeyName: zkeyName,
wasmName: wasmName,
lg: lg,
}
Expand Down

0 comments on commit b01795f

Please sign in to comment.