crypto: remove unused code (#8412)

This commit is contained in:
Sam Kleinman
2022-04-27 15:57:30 -04:00
committed by tycho garen
parent e41ba263be
commit 4da31ca2c8
13 changed files with 36 additions and 188 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
package sr25519
import (
"crypto/rand"
"fmt"
"github.com/oasisprotocol/curve25519-voi/primitives/sr25519"
@@ -42,5 +43,5 @@ func (b *BatchVerifier) Add(key crypto.PubKey, msg, signature []byte) error {
}
func (b *BatchVerifier) Verify() (bool, []bool) {
return b.BatchVerifier.Verify(crypto.CReader())
return b.BatchVerifier.Verify(rand.Reader)
}