Minor modification to tree_hash
This commit is contained in:
parent
078700235a
commit
10333cc99f
@ -30,6 +30,7 @@ pub fn merkle_hash(list: &mut Vec<Vec<u8>>) -> Vec<u8> {
|
||||
// Hash two chuncks together
|
||||
new_chunkz.append(&mut hash(two_chunks));
|
||||
}
|
||||
chunk_size = HASHSIZE;
|
||||
}
|
||||
chunkz = new_chunkz;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user