File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
token/core/zkatdlog/nogh/v1/validator/bench/transfer_service Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments