build: Use go embed for srs-inner-product.json
This commit is contained in:
parent
55f65702b2
commit
e1dc7ad6eb
@ -7,10 +7,13 @@ import (
|
||||
//go:embed proof-params/parameters.json
|
||||
var params []byte
|
||||
|
||||
//go:embed proof-params/srs-inner-product.json
|
||||
var srs []byte
|
||||
|
||||
func ParametersJSON() []byte {
|
||||
return params
|
||||
}
|
||||
|
||||
func SrsJSON() []byte {
|
||||
return rice.MustFindBox("proof-params").MustBytes("srs-inner-product.json")
|
||||
return srs
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user