mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-06-27 10:15:33 +02:00
merkletree: add method for getting collapsed tree nodes
This commit is contained in:
parent
7f17992c9c
commit
cc98a06bcb
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user