Minor modification to merkle hashing

This commit is contained in:
Kirk Baird 2019-01-29 09:27:40 +11:00
parent 96b5c8453e
commit 73ba4d3cfc
No known key found for this signature in database
GPG Key ID: BF864B7ED0BEA33F

View File

@ -30,8 +30,9 @@ 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;
}
chunk_size = HASHSIZE;
chunkz = new_chunkz;
}