aboutsummaryrefslogtreecommitdiff
path: root/pkg/requests/requests.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2022-05-21 20:31:09 +0200
committerRasmus Dahlberg <rasmus@mullvad.net>2022-06-21 19:46:54 +0200
commitbbd6591c4f87b3f2c3e870b6418c6234d90a82e6 (patch)
treeb28921823087f9bbdd8536cf536ec4d9301dd360 /pkg/requests/requests.go
parent8d097316c0a12f14de4b9e27e1fe4c458c32f4b0 (diff)
go fmt
Diffstat (limited to 'pkg/requests/requests.go')
-rw-r--r--pkg/requests/requests.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkg/requests/requests.go b/pkg/requests/requests.go
index 6b74184..cfaaf29 100644
--- a/pkg/requests/requests.go
+++ b/pkg/requests/requests.go
@@ -13,11 +13,11 @@ import (
)
type Leaf struct {
- ShardHint uint64 `ascii:"shard_hint"`
- Message merkle.Hash `ascii:"message"`
- Signature types.Signature `ascii:"signature"`
- PublicKey types.PublicKey `ascii:"public_key"`
- DomainHint string `ascii:"domain_hint"`
+ ShardHint uint64 `ascii:"shard_hint"`
+ Message merkle.Hash `ascii:"message"`
+ Signature types.Signature `ascii:"signature"`
+ PublicKey types.PublicKey `ascii:"public_key"`
+ DomainHint string `ascii:"domain_hint"`
}
type Leaves struct {
@@ -37,7 +37,7 @@ type ConsistencyProof struct {
type Cosignature struct {
Cosignature types.Signature `ascii:"cosignature"`
- KeyHash merkle.Hash `ascii:"key_hash"`
+ KeyHash merkle.Hash `ascii:"key_hash"`
}
func (req *Leaf) ToASCII(w io.Writer) error {