forked from lthn/blockchain
minor fix (presumable, not worthy but anyway)
This commit is contained in:
parent
ff6cbe2548
commit
cc8ff1d5a3
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ bool check_scalar(const crypto::ec_scalar &scalar) {
|
|||
}
|
||||
|
||||
void random_scalar(crypto::ec_scalar &res) {
|
||||
crypto::random_scalar(res);
|
||||
crypto::random_scalar_no_lock(res);
|
||||
}
|
||||
|
||||
void hash_to_scalar(const void *data, std::size_t length, crypto::ec_scalar &res) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue