mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 13:09:24 +00:00
Remove ethers mono-crate
Reduces size of ethereum-serai and gives us clarity on what's used. Next should be rmeoving the ethers-provided signing code.
This commit is contained in:
@@ -11,7 +11,7 @@ use k256::{
|
||||
use frost::{algorithm::Hram, curve::Secp256k1};
|
||||
|
||||
pub fn keccak256(data: &[u8]) -> [u8; 32] {
|
||||
Keccak256::digest(data).try_into().unwrap()
|
||||
Keccak256::digest(data).into()
|
||||
}
|
||||
|
||||
pub fn hash_to_scalar(data: &[u8]) -> Scalar {
|
||||
|
||||
Reference in New Issue
Block a user