From bbd6591c4f87b3f2c3e870b6418c6234d90a82e6 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sat, 21 May 2022 20:31:09 +0200 Subject: go fmt --- pkg/types/tree_head.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pkg/types/tree_head.go') 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 { -- cgit v1.2.3