Skip to content

Commit 8fc2183

Browse files
committed
lint
Signed-off-by: Effi-S <effi.szt@gmail.com>
1 parent 8dd8482 commit 8fc2183

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

token/core/zkatdlog/nogh/v1/validator/bench/transfer_service/transfer_service_bench.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ func (p *trandferServiceParams) NumInputs() int {
6969
subDir := filepath.Base(filepath.Dir(p.OutputPath))
7070
if m := regexp.MustCompile(`_i(\d+)_o(\d+)$`).FindStringSubmatch(subDir); len(m) == 3 {
7171
n, _ := strconv.Atoi(m[1])
72+
7273
return n
7374
}
7475

@@ -79,8 +80,10 @@ func (p *trandferServiceParams) NumOutputs() int {
7980
subDir := filepath.Base(filepath.Dir(p.OutputPath))
8081
if m := regexp.MustCompile(`_i(\d+)_o(\d+)$`).FindStringSubmatch(subDir); len(m) == 3 {
8182
n, _ := strconv.Atoi(m[2])
83+
8284
return n
8385
}
86+
8487
return -1
8588
}
8689

@@ -89,6 +92,7 @@ func (p *trandferServiceParams) CurveID() string {
8992
if parts := strings.SplitN(dirName, "-", 2); len(parts) == 2 {
9093
return parts[1]
9194
}
95+
9296
return ""
9397
}
9498

0 commit comments

Comments
 (0)