aboutsummaryrefslogtreecommitdiff
path: root/pkg/types/tree_head.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/types/tree_head.go')
-rw-r--r--pkg/types/tree_head.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkg/types/tree_head.go b/pkg/types/tree_head.go
index 04b3b10..baedf08 100644
--- a/pkg/types/tree_head.go
+++ b/pkg/types/tree_head.go
@@ -13,9 +13,9 @@ import (
)
type TreeHead struct {
- Timestamp uint64 `ascii:"timestamp"`
- TreeSize uint64 `ascii:"tree_size"`
- RootHash merkle.Hash `ascii:"root_hash"`
+ Timestamp uint64 `ascii:"timestamp"`
+ TreeSize uint64 `ascii:"tree_size"`
+ RootHash merkle.Hash `ascii:"root_hash"`
}
type SignedTreeHead struct {
@@ -25,8 +25,8 @@ type SignedTreeHead struct {
type CosignedTreeHead struct {
SignedTreeHead
- Cosignature []Signature `ascii:"cosignature"`
- KeyHash []merkle.Hash `ascii:"key_hash"`
+ Cosignature []Signature `ascii:"cosignature"`
+ KeyHash []merkle.Hash `ascii:"key_hash"`
}
func (th *TreeHead) toBinary() []byte {