mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-06-27 10:15:33 +02:00
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…
x
Reference in New Issue
Block a user