Add a TODO comment
This commit is contained in:
parent
0bd48084f0
commit
ff6d1f21fd
|
@ -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) {
|
func VerifyConsistencyProof(proof ct.ConsistencyProof, first *ct.SignedTreeHead, second *ct.SignedTreeHead) (bool, *MerkleTreeBuilder) {
|
||||||
if second.TreeSize < first.TreeSize {
|
if second.TreeSize < first.TreeSize {
|
||||||
// Can't be consistent if tree got smaller
|
// Can't be consistent if tree got smaller
|
||||||
|
|
Loading…
Reference in New Issue