Add a TODO comment

This commit is contained in:
Andrew Ayer 2016-11-26 17:47:57 -08:00
parent 0bd48084f0
commit ff6d1f21fd
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ func reverseHashes(hashes []ct.MerkleTreeNode) {
}
}
// TODO: drop the MerkleTreeBuilder return value
func VerifyConsistencyProof(proof ct.ConsistencyProof, first *ct.SignedTreeHead, second *ct.SignedTreeHead) (bool, *MerkleTreeBuilder) {
if second.TreeSize < first.TreeSize {
// Can't be consistent if tree got smaller