Merge pull request #175 from sigp/tree_hash

Merkle hashing chunk size fix
This commit is contained in:
Paul Hauner 2019-02-01 12:08:17 +11:00 committed by GitHub
commit 10fec4919b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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