From f920ef0ec3a71d97b06cd2f0c8b69987cd6a83ca Mon Sep 17 00:00:00 2001 From: Andrew Ayer Date: Thu, 5 Jan 2017 14:32:28 -0800 Subject: [PATCH] Add a TODO --- auditing.go | 1 + 1 file changed, 1 insertion(+) diff --git a/auditing.go b/auditing.go index 6416460..0ef7c41 100644 --- a/auditing.go +++ b/auditing.go @@ -24,6 +24,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) { + // TODO: make sure every hash in proof is right length? otherwise input to hashChildren is ambiguous if second.TreeSize < first.TreeSize { // Can't be consistent if tree got smaller return false, nil