removes useless function, now in new

This commit is contained in:
decanus 2021-09-13 23:25:25 +02:00
parent b64bfcaaa3
commit d1a9127af3
No known key found for this signature in database
GPG Key ID: 3730AAF5D6589867
1 changed files with 0 additions and 6 deletions

View File

@ -76,12 +76,6 @@ func (r *RLN) Hash(input []byte) ([]byte, error) {
return C.GoBytes(unsafe.Pointer(out.ptr), C.int(out.len)), nil
}
func (r *RLN) CircuitFromParams(depth int, parameters []byte) bool {
ptr := r.ptr
buf := toBuffer(parameters)
return bool(C.new_circuit_from_params(C.ulong(depth), &buf, &ptr))
}
func (r *RLN) GenerateProof(input, output []byte) bool {
inputBuf := toBuffer(input)
outputBuf := toBuffer(output)