mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-28 02:44:16 +00:00
crypto: remove unused code (#8412)
This commit is contained in:
committed by
tycho garen
parent
e41ba263be
commit
4da31ca2c8
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user