|
@ -34,7 +34,6 @@ type PkString struct { |
|
|
DomainSize int `json:"domainSize"` |
|
|
DomainSize int `json:"domainSize"` |
|
|
PolsA []map[string]string `json:"polsA"` |
|
|
PolsA []map[string]string `json:"polsA"` |
|
|
PolsB []map[string]string `json:"polsB"` |
|
|
PolsB []map[string]string `json:"polsB"` |
|
|
PolsC []map[string]string `json:"polsC"` |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// WitnessString contains the Witness in string representation
|
|
|
// WitnessString contains the Witness in string representation
|
|
@ -149,10 +148,6 @@ func pkStringToPk(ps PkString) (*types.Pk, error) { |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
return nil, err |
|
|
return nil, err |
|
|
} |
|
|
} |
|
|
p.PolsC, err = polsStringToBigInt(ps.PolsC) |
|
|
|
|
|
if err != nil { |
|
|
|
|
|
return nil, err |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return &p, nil |
|
|
return &p, nil |
|
|
} |
|
|
} |
|
|