mirror of
https://github.com/mii443/merkle.rs.git
synced 2025-08-22 16:05:30 +00:00
Fix tests. Still failing but now they're right.
This commit is contained in:
@ -20,7 +20,7 @@ mod tests {
|
||||
|
||||
let root_hash = Sha3::sha3_256().combine_hashes(
|
||||
&Sha3::sha3_256().combine_hashes(&hashes[0], &hashes[1]),
|
||||
&Sha3::sha3_256().hash_bytes(&hashes[2])
|
||||
&hashes[2]
|
||||
);
|
||||
|
||||
assert_eq!(tree.count, 3);
|
||||
@ -49,7 +49,7 @@ mod tests {
|
||||
&Sha3::sha3_256().combine_hashes(&hashes[6], &hashes[7])
|
||||
)
|
||||
),
|
||||
&Sha3::sha3_256().hash_bytes(&hashes[8])
|
||||
&hashes[8]
|
||||
);
|
||||
|
||||
assert_eq!(tree.count, count);
|
||||
|
Reference in New Issue
Block a user