From d1a9127af3bf4fb18900dd6239802df18ecdac89 Mon Sep 17 00:00:00 2001 From: decanus <7621705+decanus@users.noreply.github.com> Date: Mon, 13 Sep 2021 23:25:25 +0200 Subject: [PATCH] removes useless function, now in new --- rln/rln.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rln/rln.go b/rln/rln.go index 2ea16fd..e5053c2 100644 --- a/rln/rln.go +++ b/rln/rln.go @@ -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)