setting rest of data

This commit is contained in:
Jaremy Creechley 2023-12-11 17:38:57 -07:00
parent 5252276e56
commit 6a4d1c32bd
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -354,11 +354,10 @@ mod tests {
parent_hash_l,
];
let siblings: Vec<u8> = sibling_hashes
let siblings_mpk: Value = Value::Array(sibling_hashes
.iter()
.map(|c| c.to_le_bytes_vec())
.flatten()
.collect();
.map(u256_to_mpack)
.collect::<Vec<Value>>());
let root = treehash(hashes.as_slice());