diff options
Diffstat (limited to 'crypto/secp256k1/secp256_rand.go')
-rw-r--r-- | crypto/secp256k1/secp256_rand.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/secp256k1/secp256_rand.go b/crypto/secp256k1/secp256_rand.go index 5e8035e0f..027b5f386 100644 --- a/crypto/secp256k1/secp256_rand.go +++ b/crypto/secp256k1/secp256_rand.go @@ -75,7 +75,7 @@ func RandByte(n int) []byte { return nil } - buff2 := RandByteWeakCrypto(n) + buff2 := saltByte(n) for i := 0; i < n; i++ { buff[i] ^= buff2[2] } |