Minor modification to tree_hash

This commit is contained in:
Kirk Baird
2019-01-25 16:18:48 +11:00
parent 078700235a
commit 10333cc99f

View File

@@ -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;
}