mirror of
https://github.com/SSLMate/certspotter.git
synced 2026-01-15 17:54:20 +01:00
merkletree: add method for getting collapsed tree nodes
This commit is contained in:
@@ -87,6 +87,10 @@ func (tree *CollapsedTree) CalculateRoot() Hash {
|
||||
return hash
|
||||
}
|
||||
|
||||
func (tree *CollapsedTree) Nodes() []Hash {
|
||||
return tree.nodes
|
||||
}
|
||||
|
||||
func (tree *CollapsedTree) Size() uint64 {
|
||||
return tree.size
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user