mirror of
https://github.com/arnaucube/miden-crypto.git
synced 2026-01-12 00:51:29 +01:00
refactor: optimize code, fix bugs
This commit is contained in:
@@ -101,8 +101,3 @@ impl std::error::Error for MerkleError {}
|
||||
const fn int_to_node(value: u64) -> Word {
|
||||
[Felt::new(value), ZERO, ZERO, ZERO]
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
const fn int_to_digest(value: u64) -> RpoDigest {
|
||||
RpoDigest::new([Felt::new(value), ZERO, ZERO, ZERO])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user